Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Putting an object at an exact point in space

Author
Message
gareth carlin
16
Years of Service
User Offline
Joined: 18th Mar 2008
Location: Bradistan
Posted: 18th Mar 2008 18:12
Hey i'm new to C++ and Dark GDK. I need help to put an object at an exact point in space, also I need help to load and paste an image to the screen. the image is called sky_v2b_tex.dds

Your Nickname Was Never Ace. Maybe Ace Hole.
monotonic
18
Years of Service
User Offline
Joined: 24th Mar 2006
Location: Nottinghamshire, England
Posted: 18th Mar 2008 23:17
To position an object you would use dbPositionObject ( int iObject, float fX, float fY, float fZ )

To load an image you use dbLoadImage ( char* szFilename, int iImage ) and to paste it to the screen use dbPasteImage ( int iImage, int iX, int iY )


I would highly recommend that you browse through the tutorials and examples that come with the GDK, play with them, alter them etc.. This will give you a better understanding of how things work.


Hope this helped.

Much good work is lost for the lack of a little more.
gareth carlin
16
Years of Service
User Offline
Joined: 18th Mar 2008
Location: Bradistan
Posted: 26th Mar 2008 17:43
thanks for the help but i'm still stuck with the image i.e. i need an example of how to load and paste the image, thanks

Your Nickname Was Never Ace. Maybe Ace Hole.

Login to post a reply

Server time is: 2024-11-20 05:29:37
Your offset time is: 2024-11-20 05:29:37