Search found 55 matches

by n00bc0de
Sun Nov 10, 2024 2:40 pm
Forum: Beginners Help
Topic: Render targets in emscripten
Replies: 3
Views: 122

Re: Render targets in emscripten

Thanks. That instantly fixed my issue.
by n00bc0de
Sat Nov 09, 2024 10:59 pm
Forum: Beginners Help
Topic: Render targets in emscripten
Replies: 3
Views: 122

Render targets in emscripten

I am trying to render to a texture in the emscripten port and I always get a black screen. It works find if just using the default render target.

Are render targets just not supported through emscripten?
by n00bc0de
Mon Nov 04, 2024 1:17 am
Forum: Beginners Help
Topic: Issue with transitions
Replies: 6
Views: 198

Re: Issue with transitions

Awesome. Thanks for continuing to look into it. I actually looked at it for a couple of days and decided to move on and come back to it. For now, its not to difficult for me to bake the transitions into the mesh since I am not doing anything advanced enough right now to require it. It would still be...
by n00bc0de
Sun Oct 20, 2024 9:16 pm
Forum: Beginners Help
Topic: Issue with transitions
Replies: 6
Views: 198

Re: Issue with transitions

Thanks for the quick response and I hope you get better soon. I saw the call to setJointMode() in setTransitionTime when I was troubleshooting as well. I thought at first that maybe there was an issue with the normals of the mesh so I called setDebugDataVisible() to see if the actual animations were...
by n00bc0de
Sun Oct 20, 2024 1:21 pm
Forum: Beginners Help
Topic: Issue with transitions
Replies: 6
Views: 198

Re: Issue with transitions

Thanks for the advice. node was referencing a different scene node than the one I was trying to animate. I seem to have a different issue now. The scene node just completely disappears for the duration of the transition. Is there something other than animateJoints() I need to call to render the mesh?
by n00bc0de
Sun Oct 20, 2024 5:18 am
Forum: Beginners Help
Topic: Issue with transitions
Replies: 6
Views: 198

Issue with transitions

I am trying to transition to a frame. Here is the code I am using to start my transition. node->setTransitionTime(transition_time); node->setJointMode(irr::scene::EJUOR_CONTROL); node->setCurrentFrame(frame); And then in my update function that is called every frame I am doing this: if((frame_curren...
by n00bc0de
Sat Oct 12, 2024 2:28 pm
Forum: Beginners Help
Topic: How to use material colors?
Replies: 4
Views: 126

Re: How to use material colors?

Thanks for the info. I will probably need to write a custom shader for it but I found a simple solution that seems to be working for now. I set the vertex color for the mesh to the diffuse color and set shineniess to 128 minus the factor*100 (This seems to be the closest to how anim8or's material lo...
by n00bc0de
Fri Oct 11, 2024 8:55 pm
Forum: Beginners Help
Topic: How to use material colors?
Replies: 4
Views: 126

How to use material colors?

I am trying to improve material support for my anim8or importer. Anim8or's materials have ambient, diffuse, specular, and emissive. It was pretty easy to set those colors but how do I get irrlicht to use all of them. Also, how can I set the factor for how much each impacts the color of the mesh.
by n00bc0de
Wed Oct 09, 2024 9:46 pm
Forum: Open Discussion and Dev Announcements
Topic: Borderless window and mouse clipping when not fullscreen
Replies: 11
Views: 3553

Re: Borderless window and mouse clipping when not fullscreen

I don't see a patch file attached to https://sourceforge.net/p/irrlicht/patches/232/ . Do you still have it, aehparta? This would be a great feature. On Linux you can press a button to make the Irrlicht window fullscreen borderless, on both X11 and Wayland. This is what I do with Minetest and my WI...
by n00bc0de
Sun Aug 18, 2024 11:36 pm
Forum: Beginners Help
Topic: Getting the patch associated with LOD in getCurrentLODOfPatches()
Replies: 4
Views: 366

Re: Getting the patch associated with LOD in getCurrentLODOfPatches()

I did figure out how to read the LOD of a patch. I wrote this function to do it. irr::s32 getLODOfPatch(irr::scene::ITerrainSceneNode* terrain, irr::s32 patchX, irr::s32 patchZ) { irr::core::array<irr::s32> lod; irr::s32 lodp_size = terrain->getCurrentLODOfPatches(lod); irr::s32 dim_size = irr::core...
by n00bc0de
Sun Aug 18, 2024 1:44 pm
Forum: Beginners Help
Topic: Getting the patch associated with LOD in getCurrentLODOfPatches()
Replies: 4
Views: 366

Re: Getting the patch associated with LOD in getCurrentLODOfPatches()

Thanks. I can play around with it a bit more. It already works really well so if overrideLODDistance works for what I need I probably won't have a change to submit. If LODs are not currently available for other nodes I might submit a patch for that since that would be extremely useful for high poly ...
by n00bc0de
Sat Aug 17, 2024 11:42 pm
Forum: Beginners Help
Topic: Getting the patch associated with LOD in getCurrentLODOfPatches()
Replies: 4
Views: 366

Getting the patch associated with LOD in getCurrentLODOfPatches()

I am trying to figure out how to get the patch associated with the LOD returned by getCurrentLODOfPatches() in a terrain node.

For instance, how would I set an LOD to 1 if it is 0, etc.
by n00bc0de
Tue Jul 02, 2024 5:15 am
Forum: Project Announcements
Topic: Extermination Shock
Replies: 7
Views: 3096

Re: Extermination Shock

I got the game earlier today. I want to try to get all the way through it before I leave a review on steam but I have found it pretty good so far.

Also, I can verify that it works fine on the steam deck (after doing some remapping) incase anyone was wanting to know.
by n00bc0de
Tue Jun 25, 2024 1:59 pm
Forum: Beginners Help
Topic: Question on some outdated material to get started
Replies: 5
Views: 713

Re: Question on some outdated material to get started

But serious lack of modern formats (fbx, gltf). Someone on the Minetest project seems to have been working on GLTF support already. I was planning on integrating it into my project so I can let you know how it goes. Even if it does work really well, I personally don't think it would be a good idea ...
by n00bc0de
Wed Jun 05, 2024 10:38 pm
Forum: Beginners Help
Topic: Rotating camera on X axis
Replies: 3
Views: 547

Re: Rotating camera on X axis

Thanks CuteAlien. That works perfectly.