[x3d-public] X3D-Edit console [was: Re: Problem with Instant Reality 2.6.0, FreeWRL on Mac. Not quite sure what to do about schematron error.]

John Carlson yottzumm at gmail.com
Wed Nov 25 06:12:54 PST 2015


If I start X3D-Edit and run the validator against the attached file, I get the stack trace.

John
> On Nov 25, 2015, at 8:10 AM, John Carlson <yottzumm at gmail.com> wrote:
> 
> I also found this in my X3D-Edit console.  I am not sure what caused it:
> 
> X3D-Edit for Extensible 3D (X3D) Graphics scenes
> https://savage.nps.edu/X3D-Edit <https://savage.nps.edu/X3D-Edit>
> Java version 1.8.0_25
> Message: Device found: Mouse-0
> Message: Device found: Keyboard-0
> org.web3d.vrml.renderer.common.nodes.shape.useMipMaps set to: true
> org.web3d.vrml.renderer.common.nodes.shape.anisotropicDegree set to: 16
> Nov 25 08:04:39  java[3136] <Warning>: void CGSUpdateManager::log() const: conn 0x1aa17 token 0x2dfffffffffddf3
> Nov 25 08:04:39  java[3136] <Warning>: Backtrace (at 19537.6):
> Nov 25 08:04:39  java[3136] <Warning>: void CGSUpdateManager::log() const:  0   CoreGraphics                        0x00007fff918007c0 CGSDisableUpdateToken + 155
> Nov 25 08:04:39  java[3136] <Warning>: void CGSUpdateManager::log() const:  1   AppKit                              0x00007fff8db5831f ___disable_updates_sync_block_invoke_2 + 17
> Nov 25 08:04:39  java[3136] <Warning>: void CGSUpdateManager::log() const:  2   libdispatch.dylib                   0x00007fff9c95e3c3 _dispatch_client_callout + 8
> Nov 25 08:04:39  java[3136] <Warning>: void CGSUpdateManager::log() const:  3   libdispatch.dylib                   0x00007fff9c95f9aa _dispatch_barrier_sync_f_invoke + 74
> Nov 25 08:04:39  java[3136] <Warning>: void CGSUpdateManager::log() const:  4   AppKit                              0x00007fff8db581ed NSCGSDisableUpdates + 1162
> Nov 25 08:04:39  java[3136] <Warning>: void CGSUpdateManager::log() const:  5   AppKit                              0x00007fff8db57c6e NSCGSTransactionRunPreCommitActionsForOrder_ + 156
> Nov 25 08:04:39  java[3136] <Warning>: void CGSUpdateManager::log() const:  6   AppKit                              0x00007fff8db57bb5 NSCGSTransactionRunPreCommitActions_ + 21
> Nov 25 08:04:39  java[3136] <Warning>: void CGSUpdateManager::log() const:  7   AppKit                              0x00007fff8e300596 -[_NSCGSTransaction synchronize] + 42
> Nov 25 08:04:39  java[3136] <Warning>: void CGSUpdateManager::log() const:  8   AppKit                              0x00007fff8e300709 NSCGSTransactionSynchronize + 76
> Nov 25 08:04:39  java[3136] <Warning>: void CGSUpdateManager::log() const:  9   AppKit                              0x00007fff8e0ec8d1 -[NSSurface syncSurfaceWantsExtendedDynamicRange] + 150
> Nov 25 08:04:39  java[3136] <Warning>: void CGSUpdateManager::log() const:  10  AppKit                              0x00007fff8dc2abb5 -[NSSurface _createSurface] + 677
> Nov 25 08:04:39  java[3136] <Warning>: void CGSUpdateManager::log() const:  11  AppKit                              0x00007fff8dc2a510 -[NSSurface setFrame:] + 785
> Nov 25 08:04:39  java[3136] <Warning>: void CGSUpdateManager::log() const:  12  AppKit                              0x00007fff8dc29e1a -[NSSurface syncToViewUnconditionally] + 174
> Nov 25 08:04:39  java[3136] <Warning>: void CGSUpdateManager::log() const:  13  AppKit                              0x00007fff8dc29ac8 -[NSSurface orderSurface:relativeTo:] + 101
> Nov 25 08:04:39  java[3136] <Warning>: void CGSUpdateManager::log() const:  14  AppKit                              0x00007fff8dd1db66 NSOpenGLContextAttachOnScreenViewSurface + 183
> Nov 25 08:04:39  java[3136] <Warning>: void CGSUpdateManager::log() const:  15  AppKit                              0x00007fff8e044633 __27-[NSOpenGLContext setView:]_block_invoke + 192
> Nov 25 08:04:39  java[3136] <Warning>: void CGSUpdateManager::log() const:  16  AppKit                              0x00007fff8db46f05 NSPerformVisuallyAtomicChange + 147
> Nov 25 08:04:39  java[3136] <Warning>: void CGSUpdateManager::log() const:  17  AppKit                              0x00007fff8dd0a92d -[NSOpenGLContext setView:] + 119
> Nov 25 08:04:39  java[3136] <Warning>: void CGSUpdateManager::log() const:  18  libjogl_desktop.jnilib              0x00000001290b7dc0 createContext + 400
> Nov 25 08:04:39  java[3136] <Warning>: void CGSUpdateManager::log() const:  19  libjogl_desktop.jnilib              0x000000012911dab5 Java_jogamp_opengl_macosx_cgl_CGL_createContext0__JJZJZLjava_lang_Object_2I + 149
> Nov 25 08:04:39  java[3136] <Warning>: void CGSUpdateManager::log() const:  20  ???                                 0x000000010f531694 0x0 + 4552070804
> Nov 25 08:04:39  java[3136] <Warning>: void CGSUpdateManager::log() const:  21  ???                                 0x000000010f5234a0 0x0 + 4552012960
> Nov 25 08:04:39  java[3136] <Warning>: void CGSUpdateManager::log() const:  22  ???                                 0x000000010f5234a0 0x0 + 4552012960
> 
>> On Nov 25, 2015, at 7:39 AM, John Carlson <yottzumm at gmail.com <mailto:yottzumm at gmail.com>> wrote:
>> 
>> Mac Mini, works fine in X3DOM, not FreeWRL or Instant Reality.  suspect images or version of GL/shader or X3D usage.
>> 
>> Sphere does not show up AFAICT.
>> 
>> Instant Reality Console says:
>> LOG	Avalon	 Init: 16/351, V2.6.0 build: R-28726 Sep 30 2015 Mac OS X x86_64
>> LOG	Avalon	 CDF parsing (0.122472s): 624 Node-Types defined
>> LOG	OpenSG	 GL Vendor/Renderer: Intel Inc./Intel HD Graphics 4000 OpenGL Engine
>> WARNING	OpenSG	 PNG: iCCP: known incorrect sRGB profile
>> LOG	OpenSG	 ImageDump: RGB; 512/512/1; #mm: 1, #side: 1, #frame: 1, frameDelay 0, dataType IMAGEDATA_TYPE UCHAR8, size: 786432
>> LOG	OpenSG	 ImageDump: RGB; 512/512/1; #mm: 1, #side: 6, #frame: 1, frameDelay 0, dataType IMAGEDATA_TYPE UCHAR8, size: 4718592
>> 
>> X3D-Edit checker produces:
>> Performing X3D Schematron check...
>> <ImageTexture DEF=''/> has parent ComposedCubeMapTexture node, but must be contained by Appearance, LoadSensor, MultiTexture or TextureBackground node (or else within field declaration or fieldValue initialization) [/X3D/Scene/Transform/Shape/Appearance/ComposedCubeMapTexture/ImageTexture[1], error]
>> <ImageTexture DEF=''/> has parent ComposedCubeMapTexture node, but must be contained by Appearance, LoadSensor, MultiTexture or TextureBackground node (or else within field declaration or fieldValue initialization) [/X3D/Scene/Transform/Shape/Appearance/ComposedCubeMapTexture/ImageTexture[2], error]
>> <ImageTexture DEF=''/> has parent ComposedCubeMapTexture node, but must be contained by Appearance, LoadSensor, MultiTexture or TextureBackground node (or else within field declaration or fieldValue initialization) [/X3D/Scene/Transform/Shape/Appearance/ComposedCubeMapTexture/ImageTexture[3], error]
>> <ImageTexture DEF=''/> has parent ComposedCubeMapTexture node, but must be contained by Appearance, LoadSensor, MultiTexture or TextureBackground node (or else within field declaration or fieldValue initialization) [/X3D/Scene/Transform/Shape/Appearance/ComposedCubeMapTexture/ImageTexture[4], error]
>> <ImageTexture DEF=''/> has parent ComposedCubeMapTexture node, but must be contained by Appearance, LoadSensor, MultiTexture or TextureBackground node (or else within field declaration or fieldValue initialization) [/X3D/Scene/Transform/Shape/Appearance/ComposedCubeMapTexture/ImageTexture[5], error]
>> <ImageTexture DEF=''/> has parent ComposedCubeMapTexture node, but must be contained by Appearance, LoadSensor, MultiTexture or TextureBackground node (or else within field declaration or fieldValue initialization) [/X3D/Scene/Transform/Shape/Appearance/ComposedCubeMapTexture/ImageTexture[6], error]
>> 
>> Code is:
>> 
>> <?xml version='1.0' encoding='UTF-8'?>
>> <!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.3//EN" "http://www.web3d.org/specifications/x3d-3.3.dtd <http://www.web3d.org/specifications/x3d-3.3.dtd>">
>> <X3D profile='Immersive' version='3.3' xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' <http://www.w3.org/2001/XMLSchema-instance'> xsd:noNamespaceSchemaLocation='http://www.web3d.org/specifications/x3d-3.3.xsd' <http://www.web3d.org/specifications/x3d-3.3.xsd'>>
>>    <Scene>
>>        <Viewpoint position='0 0 4' description='sphere in road'/>
>>        <Background
>>            backUrl='"cubemap/bBK.png" "http://coderextreme.net/roses/x3dom/cubemap/bBK.png <http://coderextreme.net/roses/x3dom/cubemap/bBK.png>"'
>>            bottomUrl='"cubemap/bBT.png" "http://coderextreme.net/roses/x3dom/cubemap/bBT.png <http://coderextreme.net/roses/x3dom/cubemap/bBT.png>"'
>>            frontUrl='"cubemap/bFR.png" "http://coderextreme.net/roses/x3dom/cubemap/bFR.png <http://coderextreme.net/roses/x3dom/cubemap/bFR.png>"'
>>            leftUrl='"cubemap/bLF.png" "http://coderextreme.net/roses/x3dom/cubemap/bLF.png <http://coderextreme.net/roses/x3dom/cubemap/bLF.png>"' 
>>            rightUrl='"cubemap/bRT.png" "http://coderextreme.net/roses/x3dom/cubemap/bRT.png <http://coderextreme.net/roses/x3dom/cubemap/bRT.png>"'
>>            topUrl='"cubemap/bTP.png" "http://coderextreme.net/roses/x3dom/cubemap/bTP.png <http://coderextreme.net/roses/x3dom/cubemap/bTP.png>"' />
>>        <Transform DEF='Rose01' >
>>            <Shape>		
>>                <Sphere/>
>>                <Appearance DEF='_01_-_Default' >
>>                    <Material diffuseColor=".7 .7 .7" specularColor=".5 .5 .5" />
>>                    <ComposedCubeMapTexture>
>>                            <ImageTexture url='"cubemap/bBK.png" "http://coderextreme.net/roses/x3dom/cubemap/bBK.png <http://coderextreme.net/roses/x3dom/cubemap/bBK.png>"' containerField="back"/>
>>                            <ImageTexture url='"cubemap/bBT.png" "http://coderextreme.net/roses/x3dom/cubemap/bBT.png <http://coderextreme.net/roses/x3dom/cubemap/bBT.png>"' containerField="bottom"/>
>>                            <ImageTexture url='"cubemap/bFR.png" "http://coderextreme.net/roses/x3dom/cubemap/bFR.png <http://coderextreme.net/roses/x3dom/cubemap/bFR.png>"' containerField="front"/>
>>                            <ImageTexture url='"cubemap/bLF.png" "http://coderextreme.net/roses/x3dom/cubemap/bLF.png <http://coderextreme.net/roses/x3dom/cubemap/bLF.png>"' containerField="left"/>
>>                            <ImageTexture url='"cubemap/bRT.png" "http://coderextreme.net/roses/x3dom/cubemap/bRT.png <http://coderextreme.net/roses/x3dom/cubemap/bRT.png>"' containerField="right"/>
>>                            <ImageTexture url='"cubemap/bTP.png" "http://coderextreme.net/roses/x3dom/cubemap/bTP.png <http://coderextreme.net/roses/x3dom/cubemap/bTP.png>"' containerField="top"/>
>>                    </ComposedCubeMapTexture>
>> 
>>                    <ComposedShader DEF='ComposedShader' containerField='shaders' language='GLSL'>
>>                        <field accessType="inputOutput" name='cube' type='SFInt32' value='0'/>
>> 
>>                        <field accessType="inputOutput" name='chromaticDispertion' type='SFVec3f' value='0.98 1.0 1.033'/>
>>                        <field accessType="inputOutput" name='bias' type='SFFloat' value='0.5'/>
>>                        <field accessType="inputOutput" name='scale' type='SFFloat' value='0.5'/>
>>                        <field accessType="inputOutput" name='power' type='SFFloat' value='2.0'/>
>>                        <ShaderPart url='"bubbles.vs" "http://coderextreme.net/roses/x3dom/bubbles.vs <http://coderextreme.net/roses/x3dom/bubbles.vs>"' containerField='parts' type='VERTEX'>
>>                        </ShaderPart>
>>                        <ShaderPart url='"bubbles.fs" "http://coderextreme.net/roses/x3dom/bubbles.fs <http://coderextreme.net/roses/x3dom/bubbles.fs>"'  containerField='parts' type='FRAGMENT'>
>> 
>>                        </ShaderPart>
>>                    </ComposedShader>
>>                </Appearance>
>>            </Shape>
>>        </Transform>
>>    </Scene>
>> </X3D>
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20151125/6a6b73e0/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bubbles.x3d
Type: model/x3d+xml
Size: 3334 bytes
Desc: not available
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20151125/6a6b73e0/attachment-0001.x3d>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20151125/6a6b73e0/attachment-0003.html>


More information about the x3d-public mailing list