FORUM CLOSED, PLEASE REGISTER AT FORUM.SIO2INTERACTIVE.COM
Would you like to react to this message? Create an account in a few clicks or log in to continue.

3d scene draw a 2d image.

2 posters

Go down

3d scene draw a 2d image. Empty 3d scene draw a 2d image.

Post  LuisLee Tue Sep 01, 2009 2:37 am

Such as a bullet hit the wall, posted on the wall of the crater. Very Happy
What is the function to be used in SIO2 engine?
Laughing
My question is:

1 3d scene draw a 2d image. sio2 whether to provide this interface?
2 The blood of the head characters . use Billboard?
3 How to use this function?
void sio2ObjectBillboard( SIO2object *_SIO2object,
vec3 *_vec ); The second parameter is what? The Camera Position ?

thanks!

LuisLee

Posts : 85
Join date : 2009-04-26
Age : 37

Back to top Go down

3d scene draw a 2d image. Empty Re: 3d scene draw a 2d image.

Post  sio2interactive Tue Sep 01, 2009 5:15 am

You don't have to really call this function just set the SIO2_OBJECT_BILLBOARD flags and SIO2 will do all the dirty work for ya Wink
sio2interactive
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 45
Location : Shanghai

http://sio2interactive.com

Back to top Go down

3d scene draw a 2d image. Empty Re: 3d scene draw a 2d image.

Post  LuisLee Wed Sep 02, 2009 7:30 pm

sio2interactive wrote:You don't have to really call this function just set the SIO2_OBJECT_BILLBOARD flags and SIO2 will do all the dirty work for ya Wink

ok!I know it! thank you !

This function is very useful!
sio2EnableState( &sio2ResourceGetObject( sio2->_SIO2resource,
YOUROBJECT)->flags,
SIO2_OBJECT_BILLBOARD);

LuisLee

Posts : 85
Join date : 2009-04-26
Age : 37

Back to top Go down

3d scene draw a 2d image. Empty Re: 3d scene draw a 2d image.

Post  LuisLee Wed Sep 02, 2009 7:40 pm

I want to ask another question:
In the 3D environment.
Such as a car hitting the wall, an explosion occurred.Because the explosion map is a 2d image.
How do I paste an explosion map?
Very Happy
I know that the first access to the car's location,How to explode at this location paste pictures?
Very Happy

LuisLee

Posts : 85
Join date : 2009-04-26
Age : 37

Back to top Go down

3d scene draw a 2d image. Empty Re: 3d scene draw a 2d image.

Post  sio2interactive Wed Sep 02, 2009 9:17 pm

Just get the contact points from bullet... I already paste the code on the forum somwhere just dig a bit:)
sio2interactive
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 45
Location : Shanghai

http://sio2interactive.com

Back to top Go down

3d scene draw a 2d image. Empty Re: 3d scene draw a 2d image.

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum