image2object creator - Pure GLBasic

Previous topic - Next topic

Hemlos

QuoteUPDATED: Download is compatible with V10 now. -Hemlos July 3,2012

Heres a freeware program to make objects from images, source included.

Tips and tricks:
In settings: depth 0 for using objects to cast shadows.
In settings: Set normals to 2 for best 3d rendering results(use an x_spotlight)
Using small square images to make an object...if you use a large image, the object will too big of filesize.
Keep images around 64x64 or 128x128.
Be careful when you use 128x128..too many colors will create giant filesizes...
...the less number of black pixels, the smaller the filesize it will be.
World Point of insertion  x/2 y/2 of the image.

To make a colored object:
Draw an image with color 64x64, leave the background black.
A colored one will set the colors into the object vertice map, and you wont need a texture.
I think the colored style may be used for object bumpmapping and cellshading. Test it.
Make sure to set textured=0 to view it without a texture, so you can see the vertice colors.

Non colored object:
Draw image using White pixels, this will make the object white.
Black pixels in the image will not be draw into an object.
This style is good if you want to spheremap it.
If you want to see a texture added to this object, set textured=1

-Hemlos

PS. Theres no 3rd party software, no driver.dlls, and no inlines to fuss with, its all easy 123 Pure GLBasic.

[attachment deleted by admin]
Bing ChatGpt is pretty smart :O

Kitty Hello


Quentin


Hemlos

With GLBasic V6, it now looks better than ever!
GLBasic now builds very very accurate objects.


Bing ChatGpt is pretty smart :O

Hemlos

Image2object is now V10 capable.

I updated the download to run using GLBasic V10, without changing anything.
Bing ChatGpt is pretty smart :O