thank you so much, it is working now, and I can save edits.
just tried, still gave me the same error when saving new edits.
the cloudflare ray ID of the error page is Cloudflare Ray ID: 86bcec9f7ef78d11
website perl CGI script refuses to save changes
Duplicated mails using Davmail+POP3 for O365 exchange emails
hi Jerome, thanks again for the previous points on the 3D texture sample code, and I was able to adapt it for rendering my data. One follow up question on this - I know this is related to my lack of understanding to OpenGL rendering pipeline in general, but hopefully there is a simple change you can suggest: The 3D texture example renders a 3D texture array in a 1x1x1 dummy cube. I am currently working on adding axis labels for an Nx x Ny x Nz array as texture. To do that, I need to render the texture...
hi Pavel and Jerome, can one of you point me to the unit that defines the texture data types? I see a Longword is used in the Texture3D example, but don't know what data types are supported (and their values) https://sourceforge.net/p/glscene/code/HEAD/tree/branches/GLSceneLCL/Examples/Textures/Texture3D/Texture_3D_Unit.pas#l42 I am particularly curious if I can load 32bit floating-point data into a texture. thanks
hi Jerome, to compile either examples on LInux, I need to make a few minor changes: for the Texture3D example, I need to change Texture3D.lpr: change unit1 to Unit1, Unit.pas line#107: Head.tx3 to head.tx3 (alternatively, rename the file) for the UvMapping example, Unit1.pas line#362: change "cube.3ds" to "Cube.3DS" (alternatively, rename the file)
thank you so much! both Texture3D and UVMapping examples are extremely helpful. I will likely to adapt the Texture3D example since it deals with 3D volumes directly, and is really fast. yes, I am also aware of mricrogl but currently I don't need a full-featured 3D rendering program. The features in the Texture3D example is just about everything I need, and the code is very short and easy to understand/adapt. thank you for pointing me to this code!
hi Jerome, thanks for the update. I tested svn7124 on Linux today (lazarus 1.8.2), it was installed mostly ok, except that I have to remove the 3 sound units (GLSoundFileMP3.pas,GLSoundFileOGG.pas and GLSoundFileWAV.pas) when compiling OpenAL package. I am not sure if these 3 units are windows specific, or they are not included in the LCL branch. I will test the version on my mac today.
I sent a question via email to this board, but it seems it got lost and never posted. Let me just post my question following this thread. I am trying to visualize a 3D medical image, which is a 3D array of floating-point values. I would like to create a thin slice, and map the image data as texture to the slice (at the begining, just the x/y, y/z or z/x plane, in the future, may go for oblique slices). I am wondering if anyone can share a few lines of code to show how to converts a 2D/3D array into...
check out my post in this thread: https://sourceforge.net/p/glscene/discussion/lazarus/thread/93b8250a/ Jerome incorporated some of these to svn commit 7115, and then added a few more commits, but when I tested the last one, 712x, I still got a few errors. so, the easiest way is to rollback to 7114, and apply my patches. if you have a mac, you need also to apply the additional change in the above thread.
I bought a new mac (imac 5K display with AMD R9 graphics), and now my glscene application starts to crash - basically, it just froze the screen for a second and then logged me out. When I check the /var/log/system.log, only the 1st line seems to be related, others seem to be related to re-login: Mar 29 19:04:14 qianqians-imac sessionlogoutd[1425]: DEAD_PROCESS: 987 console Mar 29 19:04:14 qianqians-imac nxnode.bin[1117]: BUG in libdispatch client: dispatch_mig_server: mach_msg() failed (ipc/send)...
here is a patch to enable compiling glscene svn7114 on Linux with Lazarus 1.8. could not submit a ticket, so I just post it here. fixes include typos of GlFileX, FGuiSkinEditor, and the missing of LazUTF8. For unit FGUISkinEditor, I also need to remove Windows unit, can be done more elegantly using a {$IFDEF Win32} or Win64. diff --git a/glscene_7114_LCL/Packages/GLScene_DesignTime.lpk b/glscene_7114_LCL/Packages/GLScene_DesignTime.lpk index a1e24bb..571374a 100644 --- a/glscene_7114_LCL/Packages/GLScene_DesignTime.lpk...
here is the patch to compile glscene 7114 LCL on Mac OS. In addition to the below change, need to do sudo pico /Developer/lazarus/components/images/imagesforlazarus.lpk and insert <DebugInfoType Value="dsDwarf2Set"/> below the line <GenerateDebugInfo Value="True"/> diff --git a/glscene_7114_LCL/Source/SoundVideoAPIs/openal.pas b/glscene_7114_LCL/Source/SoundVideoAPIs/openal.pas index 6d40ba8..a04bdbb 100644 --- a/glscene_7114_LCL/Source/SoundVideoAPIs/openal.pas +++ b/glscene_7114_LCL/Source/SoundVideoAPIs/openal.pas...
here is the patch to compile glscene 7114 LCL on Mac OS. In addition to the below change, need to do sudo pico /Developer/lazarus/components/images/imagesforlazarus.lpk and insert <DebugInfoType Value="dsDwarf2Set"/> below the line <GenerateDebugInfo Value="True"/> diff --git a/glscene_7114_LCL/Source/SoundVideoAPIs/openal.pas b/glscene_7114_LCL/Source/SoundVideoAPIs/openal.pas index 6d40ba8..a04bdbb 100644 --- a/glscene_7114_LCL/Source/SoundVideoAPIs/openal.pas +++ b/glscene_7114_LCL/Source/SoundVideoAPIs/openal.pas...
here is the patch to compile glscene 7114 LCL on Mac OS. In addition to the below change, need to do sudo pico /Developer/lazarus/components/images/imagesforlazarus.lpk and insert <DebugInfoType Value="dsDwarf2Set"/> below the line <GenerateDebugInfo Value="True"/> diff --git a/glscene_7114_LCL/Source/SoundVideoAPIs/openal.pas b/glscene_7114_LCL/Source/SoundVideoAPIs/openal.pas index 6d40ba8..a04bdbb 100644 --- a/glscene_7114_LCL/Source/SoundVideoAPIs/openal.pas +++ b/glscene_7114_LCL/Source/SoundVideoAPIs/openal.pas...
here is a patch to enable compiling glscene svn7114 on Linux with Lazarus 1.8. could not submit a ticket, so I just post it here. fixes include typos of GlFileX, FGuiSkinEditor, and the missing of LazUTF8. For unit FGUISkinEditor, I also need to remove Windows unit, can be done more elegantly using a {$IFDEF Win32} or Win64. diff --git a/glscene_7114_LCL/Packages/GLScene_DesignTime.lpk b/glscene_7114_LCL/Packages/GLScene_DesignTime.lpk index a1e24bb..571374a 100644 --- a/glscene_7114_LCL/Packages/GLScene_DesignTime.lpk...
By a "patch", I meant the basic objects like TGLDisk, TGLPolygon, TGLPlane etc, where it is an open-surface (not like a closed surface such as a TGLSphere or TGLCylinder).
thank you Jerome, the example is very helpful. looks like the TGLFreeFormEx.BuildMeshObjectFrom() function is exactly what I need. on a related note, I have been working 2D/3D mesh generation for a quite while, I know that it has been really difficult to perform surface boolean operations on overlapping/degenerated surfaces. I have been using Cork in the recent year (https://github.com/gilbo/cork) but still it fails when merging two co-planar surfaces. The old GTS library fails in even more cases....
Dear GLScene experts, thanks for developing this incredibly useful library. I could write 3D rendering applications without delving into OpenGL, it is so much easier with GLScene. I do have a couple of questions related to object rendering. first, if I create a patch-like object, like TGLDisk or TGLPolygon, I could only render one side of it, but when rotating to the back-side, it is completely invisible. I posted my question at Lazarus forum, one of the users suggestd to change GLView.Buffer.FaceCurlling...
test
precompute reciprocal of v, implement own nexta...
remove nextafterf because it takes 60% of hitgr...
wiki page history to git conversion script
replacing string concatenation by str cells to ...
fall back to system installation when utilities...
backport JSONlab updates on github
revert mcpath to rev504, do not automatic downl...
automatically download binaries when missing
correct file name format when testing existance
show users download URL when a binary is found ...
ensure htime are all positive to avoid -inf, en...
allow divided by 0, yielding inf and let IEEE 7...
restore rev 351: rev 352 gave wrong absorption ...
completed update using reciprocals of v, unfort...
precompute the reciprocal of the velocity vecto...
fix total simulated energy counter calculation ...
Restore registers from shared mem, by Fanny Nin...
Determining block size in autopilot mode using ...
do transmission when photon enters the domain
fix refractive index mismatch transmission bug
add uniform line source and slit source, sugges...
tag v1.7.9
accept more parameters in s2m
jsonlab update affiliation
update license file
update ChangeLog, update help
update Qianqian's new affiliation, update mesh2...
fix bug for wide field sources
update affiliation, Qianqian now moved to North...
make precise ray-tracing default to improve acc...
makefile change to debug local memory usage
use proper epsilon for float roundoff tests
add nsight project files
fix bug when -G followed by a non-binary string
omit rowspan and colspan if span is 1
omit rowspan and colspan if span is 1
fix rowspan bug
fix FileName case bug
fix FileName case bug
multiple GPU support! set fermi as default, set...
fix address alignment error for CUDA 6 or higher
fix github bug #10, reported by MartinKjer
mcxlab can query gpu info by mcxlab('gpuinfo')
return gpu info for better interfacing with matlab
prevent random ordering in cgalv2m
update core per SM count table
make maxgate by default the total needed gates
set default target to fermi
makefile updated for cuda 6.5
support saving photon seeds and replay
accept endianness input
polish coding styles based on matlab hints
update version to 1.1
add tests for special character escape
massively accelerating loadjson for parsing lar...
apply fixes in loadjson/savejson to loadubjson ...
massively speeding up loadjson for parsing larg...
force array bracket in 1x1 struct to maintain d...
parse logical in loadjson
making options case insensitive
add new lines to match github repo
reading unicode encoded json files, thanks to S...
allow \uXXXX to represent a unicode in a string
fix orthdisk bug
qmeshcut allows to exact plane that are exactly...
fater core element search algorithm
add helper function for mmc and meshacylinder
3D lattice function, surf2mesh support region-b...
handle cases where the original mesh is a conve...
getvarfrom is not working, change to inline fun...
allow to insert external nodes to the mesh
test avoid divided by zero when setting axis equal
minor modification to meshquality
allow binsurface to mesh a 2d image
handel empty struct array
save 0x0 solid real empty array to null
merge char escape handeling to escapejsonstring...
update meshquality to add surface support