Horde3D

Next-Generation Graphics Engine
It is currently 26.12.2024, 11:57

All times are UTC + 1 hour




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: 24.03.2010, 00:11 
Offline

Joined: 14.04.2008, 15:06
Posts: 183
Location: Germany
Warning: This is a hack - use with caution. Just sharing :)
(I have no intention of adding this to the core of Horde3D)


With the attached patch you can use a custom function to update the particles of an emitter node. Just define a normal C function, and pass it to h3dSetUpdateFunction for that node. Attach the particle system to your physics layer, use it for displaying billboards... Have fun!

It even works together with Python ctypes, albeit slow.


Attachments:
File comment: Patch: custom update function for particles
ps_hack.patch [10.77 KiB]
Downloaded 1003 times
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 12 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group