Search found 2057 matches

by devsh
Tue Jan 15, 2019 1:37 pm
Forum: Open Discussion and Dev Announcements
Topic: 3000th commit - IrrlichtBAW (GIT repo, v 0.3.0-gamma1)
Replies: 262
Views: 69531

Re: New Version - BAW Irrlicht (GIT repo, v 0.3.0-alpha6)

Asset-pipeline and Vulkan format branches are getting merged soon.
by devsh
Fri Jan 04, 2019 2:08 pm
Forum: Beginners Help
Topic: Custom Scene Node Lighting
Replies: 12
Views: 1593

Re: Custom Scene Node Lighting

It looks like your model has "shared vertices" in some places, which basically makes the normals fuck-up. It basically makes your tetrahedron think its a sphere. If you want a tetrahedron lit like a tetrahedron you need not 4 but 12 vertices, for distinct faces. Btw, here's my explainer on...
by devsh
Thu Jan 03, 2019 4:15 pm
Forum: Beginners Help
Topic: Custom Scene Node Lighting
Replies: 12
Views: 1593

Re: Custom Scene Node Lighting

Are you going to use a shader afterwards or are you going to rely on built-in irrlicht materials?

If yes then bump mapping / derivative mapping may be a better alternative.
by devsh
Fri Dec 21, 2018 10:56 am
Forum: Bug reports
Topic: Use matrix for ISceneNode rotation
Replies: 3
Views: 3154

Re: Use matrix for ISceneNode rotation

In my own private fork I will replace all setRotation/getRotation calls on nodes to take quaternions (normalized, no scale) instead of Euler XYZ angles. In the fork you can already provide whole pre-calculated matrices instead of translation,rotation and scale separately. There's also an atomic-coun...
by devsh
Thu Dec 20, 2018 1:44 pm
Forum: Bug reports
Topic: Use matrix for ISceneNode rotation
Replies: 3
Views: 3154

Re: Use matrix for ISceneNode rotation

That's actually on my private roadmap.
by devsh
Mon Dec 17, 2018 1:01 pm
Forum: Project Announcements
Topic: Saga3D - Re-creating Irrlicht with Vulkan
Replies: 27
Views: 12144

Re: Saga3D - Modernizing Irrlicht with Vulkan

Why are you still outputting depth to a separate color Render Target?
by devsh
Wed Dec 12, 2018 2:34 pm
Forum: Project Announcements
Topic: Saga3D - Re-creating Irrlicht with Vulkan
Replies: 27
Views: 12144

Re: Saga3D - Modernizing Irrlicht with Vulkan

Rendering large models, like 1GB meshes of complete cars seems to just load the GPU so much. I guess its still rendering all the sub-meshes even if they are not finally visible. We've actually improved the performance so much that we've canned occlusion queries and just keep normal per-node frustum...
by devsh
Thu Dec 06, 2018 4:05 pm
Forum: Project Announcements
Topic: Saga3D - Re-creating Irrlicht with Vulkan
Replies: 27
Views: 12144

Re: Saga3D - Modernizing Irrlicht with Vulkan

@devsh So the render process runs, loading of meshes to CPU and GPU, load/update textures to GPU, update animations CPU values, issue render commands to GPU... GPU starts rendering, shader units access meshes and textures... so we can't update those meshes or textures until the rendering has finish...
by devsh
Fri Nov 30, 2018 5:08 am
Forum: Project Announcements
Topic: Saga3D - Re-creating Irrlicht with Vulkan
Replies: 27
Views: 12144

Re: Saga3D - Modernizing Irrlicht with Vulkan

Its is very useful because a single GPU now has many command dispatch schedulers (Nvidia is 2-4 cores per scheduler), which allows for async compute or async rendering in general. Independent tasks can be executed simult. to other tasks that would undersaturate the GPU. The drawing commands you send...
by devsh
Sun Nov 25, 2018 9:38 pm
Forum: Project Announcements
Topic: Musings about Deferred Rendering in OpenGL 4.3+
Replies: 13
Views: 5642

Re: Clustered Deferred Rendering in OpenGL 4.3

Just a little sidenote. I'ver recently implemented and tested my idea of single-pass stencil-light-volumes, and it works. Depth write disabled Depth function (GREATER) [reverse the direction of Z-compare to the other objects in the scene] Frontface: stencil func GL_EQUAL to reference value 0 mask 0x...
by devsh
Mon Nov 19, 2018 7:37 pm
Forum: Open Discussion and Dev Announcements
Topic: 3000th commit - IrrlichtBAW (GIT repo, v 0.3.0-gamma1)
Replies: 262
Views: 69531

Re: New Version - BAW Irrlicht (GIT repo, v 0.3.0-alpha6)

New version is out. Stable-ish custom memory allocators, and a proper implementation of GPU memory streaming. There will be a new version sometime this week that will touch up a few things with Resizable Address Allocators, but nothing major. This is the last version before asset-pipeline (which is ...
by devsh
Fri Nov 16, 2018 6:24 am
Forum: Beginners Help
Topic: Need help swapping the Y axis with the Z axis.
Replies: 6
Views: 1501

Re: Need help swapping the Y axis with the Z axis.

if you want to use right handed coordinate system its easy.

You just need to patch all of the cameras+CMatrix class to swap Y with Z.

Also make sure to change backface culling to front-face or change the order of triangle indices in all meshes.
by devsh
Mon Nov 12, 2018 10:31 am
Forum: Open Discussion and Dev Announcements
Topic: 3000th commit - IrrlichtBAW (GIT repo, v 0.3.0-gamma1)
Replies: 262
Views: 69531

Re: Raytracing - BAW Irrlicht (GIT repo, v 0.3.0-alpha5)

Nice stuff, but seems that your Blender Exporter or something hates your smoothing groups.
by devsh
Fri Nov 09, 2018 12:52 pm
Forum: Beginners Help
Topic: Multithreading in Irrlicht
Replies: 6
Views: 1595

Re: Multithreading in Irrlicht

The approach you're taking about The main thread pushes the scene tree nodes in a queue, the worker threads fetch a node from queue and do the OnAnimation and OnRegisterSceneNode. is exactly what I've outlined. Will cause latency issues, unless the other cores in the system are running no other thre...
by devsh
Thu Nov 08, 2018 7:26 pm
Forum: Beginners Help
Topic: Multithreading in Irrlicht
Replies: 6
Views: 1595

Re: Multithreading in Irrlicht

I think you'll find that OnRegisterSceneNode and OnAnimate are quite hard to parallelize since you're dealing with a scene-tree... also kicking stuff off to worker-threads may give you worse performance because of latency (time for worker thread to get its job, time you need to wait for worker threa...