Hello, Now I understood you, please find attached a project based on rev 7405. Still the same issue, no idea what I am doing wrong. Ideas/suggestions welcome. Regards, Ronald
Hi Pavel, To answer your first question: I downloaded Texture3D demo yesterday from GLScene User Demos 2.1 on Sourceforge, https://sourceforge.net/projects/glscene/files/User%20Demos/User%20Demos%202.1/Textures.zip/download. The URL you mention is not listed under Files, for people who download GLScene latest version and/or demos and/or user demos from Sourceforge. Now you mentioned it, I found it under Code. This is not a place where I would have looked, as I would consider that "development stage",...
Hi Pavel, Refer to attached zip file for version from GLScene Trunk. Same issue, unfortunately. In previous version, disabled Cadencer, which is unnecessary imho. In this version, I left it enabled, in order to have the lease differences using Beyond Compare. Also for Beyond Compare, I saved dfm as text. Any ideas tow to make single pass raycasting work are highly appreciated. Regards, Ronald
Hi Pavel, Refer to attached zip file for version from GLScene Trunk. Same issue, unfortunately. In previous version, disabled Cadencer, which is unnecessary imho. In this version, I left it enabled, in order to have the lease differences using Beyond Compare. Also for Beyond Compare, I saved dfm as text. Regards, Ronald
Hello, Attached is a modified version of GLScene Texture3D demo ( exploring the use shaders): color is read from texture and applied via shaders, works ok. So, passing a 3D texture to shaders works. option for raycasting via shaders :does not work. For the raycasting via the fragment shader, I used the example glsl code from the OpenGl Development Cookbook, as found on github However, I can't get the raycasting to work. as can be seen in the demo, Slicing does work OK, so issue must be in shader...
Hi Pavel, I did use the latest version. (Error message was caused by vertex shader, where uniform was declared, but not used.) Refer to attached zip for working version, in the sense that texturecolor is applied via shaders. However, I wonder if there is a more "GLScene way of doing things": 3D texture. In demo is setup outside GLScene. Would it be possible to use TGLFreeForm for handling vertices drawing, and/or material lib rfor handling texture? Shaders. I was unable to use TGLSLShader component,...
Hello, Refer to attached modified Texture3D demo. I added support for shaders, hopefully allowing to implement transfer function via shaders. For that, I need to be able to modify RGBA value of texture voxels being displayed. However, does not work as expected. I am unable to access texture index of voxels being rendered via shader (tried both vertex and fragment). Any ideas? Am I on the right track or not? Regards, Ronald