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 AppGameKit Corner / [SOLVED] Set separate image for each side of 3d box?

Author
Message
eriksiers
3
Years of Service
User Offline
Joined: 26th Aug 2020
Location: Phoenix
Posted: 27th Aug 2020 22:56
Hey all. I'm new to AppGameKit, and trying my very first 3D-ish thing.

Is it possible to set the image for each side of a 3d box (created using CreateObjectBox) separately? SetObjectImage uses the same image for all sides, and since the box is created with a single mesh, SetObjectMeshImage won't work either. Optimally, I'd like something like this:



Help? Please?

The author of this post has marked a post as an answer.

Go to answer

blink0k
Moderator
11
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
Posted: 28th Aug 2020 00:22 Edited at: 28th Aug 2020 01:41
This post has been marked by the post author as the answer.
You could use 6 planes;


Alternatively you could use the attached model and texture map as a guide

Attachments

Login to view attachments
eriksiers
3
Years of Service
User Offline
Joined: 26th Aug 2020
Location: Phoenix
Posted: 28th Aug 2020 07:44
That's just about perfect, thank you! I was able to use the object and stretch it to serve my purposes, thank you!

Login to post a reply

Server time is: 2024-03-28 10:25:57
Your offset time is: 2024-03-28 10:25:57