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.

DarkBASIC Professional Discussion / [DBP] Applying changes to object texture in realtime

Author
Message
Kezzla
17
Years of Service
User Offline
Joined: 21st Aug 2008
Location: Where beer does flow and men chunder
Posted: 16th Oct 2011 03:20
Hi all,
i've been playing today with a method of drawing on 3d models in realtime. I have this code,
Rem Project: Dark Basic Pro Project
Rem Created: Sunday, October 16, 2011


which works fine, however it is a really slow way of doing it. I'm wondering If there is a more efficient method of changing a few pixels of image data, preferably without having to redraw the image.

does anyone know of any simpler "get texture co-ordinate from 3d position" style command?

any thoughts or ideas are greatly appreciated.
kezzla

Sometimes I like to use words out of contents
SH4773R
16
Years of Service
User Offline
Joined: 18th Jan 2010
Location: AMERICA!!!
Posted: 16th Oct 2011 04:06 Edited at: 16th Oct 2011 04:07
Kezzla
17
Years of Service
User Offline
Joined: 21st Aug 2008
Location: Where beer does flow and men chunder
Posted: 16th Oct 2011 04:38
awesome! Thankyou SH4773R.
That is exactly what I'm looking for.
Thanks again
kezzla

Sometimes I like to use words out of contents

Login to post a reply

Server time is: 2026-07-11 04:44:16
Your offset time is: 2026-07-11 04:44:16