instantreality forum
news: Welcome to the instantreality forums!
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 22, 2018, 12:49:16 pm


Login with username, password and session length


Pages: [1]
  Print  
Author Topic: Problem making a skybox using a TextureBackground  (Read 4340 times)
peschler
Administrator
Jr. Member
*****
Posts: 58


View Profile
« on: August 30, 2007, 11:54:33 am »

Hi,

i'm currently trying to make a skybox. Reading the spec there are two nodes for this: Background, TextureBackground.

When using Background everything works fine. When replacing the Background with an TextureBackground in order to be able to specify some texture transforms, I get the following FATAL message in the console:
Code:
LOG     Avalon   Init: 44/511, V2.0.0beta2 build: R-8545 Jul 26 2007
FATAL   Avalon   TextureBackground/137538112 child is not a AppearanceProperty

My code (containing both variants) looks like this:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.0//EN" "http://www.web3d.org/specifications/x3d-3.0.dtd">
<X3D xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' profile='Full' version='3.0' xsd:noNamespaceSchemaLocation='http://www.web3d.org/specifications/x3d-3.0.xsd'>
       
  <Scene DEF='scene'>
        <TextureBackground>
      <ImageTexture2D url='../Texturen/Box1.dds' containerField='leftTexture'/>
      <ImageTexture2D url='../Texturen/Box2.dds' containerField='frontTexture'/>
      <ImageTexture2D url='../Texturen/Box3.dds' containerField='rightTexture'/>
      <ImageTexture2D url='../Texturen/Box4.dds' containerField='backTexture'/>
      <ImageTexture2D url='../Texturen/Box5.dds' containerField='topTexture'/>
    </TextureBackground>
    <!--
    <Background  leftUrl='../Texturen/Box1.dds' frontUrl='../Texturen/Box2.dds' rightUrl='../Texturen/Box3.dds' backUrl='../Texturen/Box4.dds' topUrl='../Texturen/Box5.dds' />
    -->
  </Scene>
</X3D>


Any idea?

I'm testing this on Gentoo using the SuSE rpm (V2.0.0beta2 build: R-8545).
« Last Edit: August 30, 2007, 11:58:07 am by peschler » Logged
jbehr
Administrator
Full Member
*****
Posts: 155


View Profile
« Reply #1 on: September 07, 2007, 10:20:46 am »

OK, I can confirm this bug and it will be fixed in the next Version.
I'll give you some more info soon

Thanks for reporting
johannes
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.15 | SMF © 2011, Simple Machines