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.

Newcomers DBPro Corner / paint on object?

Author
Message
David iz cool
19
Years of Service
User Offline
Joined: 21st Sep 2005
Location: somewhere lol :P
Posted: 6th May 2009 23:23
hi how do u paint on a terrain like a big x file terrain?? and save it???
BMacZero
18
Years of Service
User Offline
Joined: 30th Dec 2005
Location: E:/ NA / USA
Posted: 7th May 2009 00:26
I'm sure there are many ways to achieve this, but here's mine:

1.) Use PICK OBJECT to see where the user has clicked on the object.

2.) Use the VERTEXDATA commands to determine what face or faces the user has clicked on.

3.) Use GET VERTEXDATA U and GET VERTEXDATA V to determine where those faces appear on the object's UV map.

4.) Draw on the object's texture at that location.



David iz cool
19
Years of Service
User Offline
Joined: 21st Sep 2005
Location: somewhere lol :P
Posted: 9th May 2009 18:52
anyone have any example code??
AndrewT
17
Years of Service
User Offline
Joined: 11th Feb 2007
Location: MI, USA
Posted: 10th May 2009 14:54 Edited at: 10th May 2009 14:54

Login to post a reply

Server time is: 2024-11-24 06:37:25
Your offset time is: 2024-11-24 06:37:25