ambiera logo

Ambiera Forum

Discussions, Help and Support.

folder icon Ambiera Forum > CopperLicht
forum topic indicator Skybox texture problem
person icon
zexx
Registered User
Quote
2010-09-12 14:50:15

After creating skybox I loaded textures, but they were always in the wrong order. I tried this:
1. Front, Back, Left, Right, Top, Bottom
2. Front, Right, Back, Left, Top, Bottom
3. Left, Right, Front, Back, Top, Bottom

Neither didn't work. Documentation says nothing about the order. Finally I found something that almost worked (by trial and error).

Unfortunately, the Bottom texture was not displayed properly. Whatever I did, it didn't fit. I had to rotate it 180 degrees in paint program to make it fit.

This is strange, because I'm using quality skybox textures that are tested in other programs. No problems ever before. Maybe the bottom texture in CopperLicht doesn't follow same logic as remaining 5 textures. The order is not documented.

person icon
zexx
Registered User
Quote
2010-09-12 16:06:12

Ok, maybe I figured it out.

Usually the skybox top and bottom images are photographed by looking forward and then turning camera up (or down) and taking a picture.

In CopperLicht it's different. You're expected to rotate camera LEFT and then take top and bottom pictures. So either top or bottom look inverted compared to standard skybox textures. Could this be configured to behave differently?

person icon
kurtmel
Registered User
Quote
2010-09-12 21:11:30

I found out the same thing Zexx, I had to rotate my "up" image 90 to 180 degrees, and bottom too. I'm going to try what you said to turn left before taking the up/down shots. I'm using Terragen Classic to create the skyboxes and it's worked out really well.

Will try it with Terragen 2 when I get the chance. but too many options and setting just to make a decent image. In Terragen I've done front, right, back, left, up down. - the sides have always been OK, it's always been the up and down images I've had trouble with, but if your workaround is the answer, that's cool - but not much to flip the texture in Photoshop anyway.

person icon
zexx
Registered User
Quote
2010-09-12 22:26:16

Well, I'm not suggesting re-rendering or modifying textures, because they are basically standard. They work in most of the apps.

I was hoping that something can be changed in the CL skybox texturing code (maybe adding another option) so that standard textures work without modifications. That's probably in everybody's interest.

person icon
niko
Moderator
Quote
2010-09-13 17:31:04

True, maybe we can change this in the near future. The reason for this is that it is the same format as the Irrlicht Engine uses it (and if I remember correctly, I also think the Quake engine used this format)

person icon
zexx
Registered User
Quote
2010-09-13 22:50:03

Yeah, there are always compatibility issues. A whole lot of skybox textures use one or the other format. Maybe there could be some variable telling which type of skybox texture is used?


Create reply:










 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


icon_holyicon_cryicon_devilicon_lookicon_grinicon_kissicon_monkeyicon_hmpf
icon_sadicon_happyicon_smileicon_uhicon_blink   






Copyright© Ambiera e.U. all rights reserved.
Contact | Imprint | Products | Privacy Policy | Terms and Conditions |