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 / MakeImageRenderTarget help

Author
Message
JDforce
20
Years of Service
User Offline
Joined: 27th Jul 2004
Location: Sea of Tranquility
Posted: 15th May 2008 01:27
Hi, I see many undocumented functions in documentation. What is makeimageRenderTarget? Can I render to the image created in that way?

May the 3d force B with U
jinzai
18
Years of Service
User Offline
Joined: 19th Aug 2006
Location: USA
Posted: 15th May 2008 02:02 Edited at: 15th May 2008 02:02
I think those are internal, and are actually exposed by other functions. In this case, "dbSetCameraToImage", which does do that.
Lilith
16
Years of Service
User Offline
Joined: 12th Feb 2008
Location: Dallas, TX
Posted: 15th May 2008 02:21
A couple of them look to do the same thing, create an image of a specific height and width and specify the format. They all return a pointer to a texture. I just haven't gotten down to what Usage is.

WRT rendering to an image, I've figured out how to do it, though it's gotten me so deep into DirectX that I may never have normal dreams again. What's kewl is dealing with the fact that alpha blending on a per pixel basis works very nicely. I've used one of those functions to create a surface for my Image class, which I'm still working on and it seems to work well.

Lilith, Night Butterfly
I'm not a programmer but I play one in the office
jason p sage
17
Years of Service
User Offline
Joined: 10th Jun 2007
Location: Ellington, CT USA
Posted: 15th May 2008 05:04
Lilith everything you're doing seems kinda cool in its construction from what I've perused so far...

And I personally usually stay away from the undoc'd at least for now..

Login to post a reply

Server time is: 2024-09-29 21:23:54
Your offset time is: 2024-09-29 21:23:54