Raydium 3D Game Engine

Official forum for everything about Raydium, ManiaDrive, MeMak, ...
It is currently Sun Oct 22, 2017 10:04 am

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Howto ...
PostPosted: Thu Jun 05, 2008 9:13 pm 
Offline
User avatar

Joined: Thu Aug 24, 2006 4:06 pm
Posts: 73
Location: SLOVAKIA
Today i tried last version and i have a few questions:

a) howto increase shadow quality
b) howto add HDR/BLOOM effect
c) howto add to car physics - drifting
d) howto add reflection on car

btw. good gra. engine.


Top
 Profile  
 
 Post subject: Re: Howto ...
PostPosted: Thu Jun 05, 2008 11:18 pm 
Offline
User avatar

Joined: Thu Sep 29, 2005 2:59 pm
Posts: 828
AndyGFX wrote:
Today i tried last version and i have a few questions:

a) howto increase shadow quality

Not an easy way i think.
You can change raydium/shadow.c line 82.
Quote:
b) howto add HDR/BLOOM effect

In main function, after the initialization of raydium and before the callback, put:
raydium_hdr_enable();
Quote:
c) howto add to car physics - drifting

Hard question. Xfennec? Ouille?
Quote:
d) howto add reflection on car

For real reflection you will need design a shader. Xfennec may can help you with this.
For a pseudo-reflection effect you can add an environment map for your object. First get a tga texture with a environment map (example : http://www.cs.umbc.edu/~olano/papers/rsibr/paint.jpg). Then modify the tri file of your object. You have to add the environment map at the end of each face using that reflection.
Example:
Code:
-0.209936 -0.178479 0.066969 -0.047395 -0.346604 0.936813 0.428223 0.451172 coche1-a.tga#ENV_map.tga


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 06, 2008 6:45 pm 
Offline

Joined: Sun Oct 09, 2005 10:46 pm
Posts: 759
Hello,

What do you mean by exactly by drifting ?

you can use
Quote:
raydium_ode_element_slip


This modify contact physics.

At last you can use collide call back to create your own contact parameter according to ode contact possibility.

Have a nice day
Ouille


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


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