Dear List,
Sometimes, your rendering code works, like in LampDemo.
And sometimes it produces a secant picket fence instead of a fisheye effect. Which looks kinda cool anyways.
Just thought I'd share.
On 2024-04-19, at 4:23 PM, Lauren Pullen drurowin@gmail.com wrote:
And sometimes it produces a secant picket fence instead of a fisheye effect. Which looks kinda cool anyways.
Just thought I'd share.
I'm thinking early Tron graphics experiments :-)
tim -- tim Rowledge; tim@rowledge.org; http://www.rowledge.org/tim "...sin, young man, is when you treat people as things". Granny said it, Pterry wrote it, That settles it.
Cool! Is this LampDemo "ray tracing/casting" in Morphic? :-D
Best, Marcel
Am 20.04.2024 01:24:05 schrieb Lauren Pullen drurowin@gmail.com:
Dear List,
Sometimes, your rendering code works, like in LampDemo.
And sometimes it produces a secant picket fence instead of a fisheye effect. Which looks kinda cool anyways.
Just thought I'd share.
Hi Marcel,
On 4/24/24 02:57, Taeumel, Marcel via Squeak-dev wrote:
Cool! Is this LampDemo "ray tracing/casting" in Morphic? :-D
It is indeed ray casting!
I also have a partially textured 2.5D ("fake 3D") rendering morph I'm working towards, but texture performance is presently very bad.
Lauren,
take a look at Ronie Salgado’s Woden renderer. It it all Smalltalk upstream (a Pharo compiler C+*), runs on the gpu, is open source, and has been ported to Squeak. We use this renderer in Virtend (www.3dicc.com). It should solve your performance problem.
_,,,^..^,,,_ (phone)
On Apr 24, 2024, at 8:03 AM, Lauren Pullen drurowin@gmail.com wrote:
Hi Marcel,
On 4/24/24 02:57, Taeumel, Marcel via Squeak-dev wrote: Cool! Is this LampDemo "ray tracing/casting" in Morphic? :-D
It is indeed ray casting!
I also have a partially textured 2.5D ("fake 3D") rendering morph I'm working towards, but texture performance is presently very bad. <Raycast3D-05.png>
Hi Eliot,
On 4/25/24 06:46, Eliot Miranda wrote:
Lauren,
take a look at Ronie Salgado’s Woden renderer. It it all Smalltalk upstream (a Pharo compiler C+*), runs on the gpu, is open source, and has been ported to Squeak. We use this renderer in Virtend (www.3dicc.com). It should solve your performance problem.
I tried to check out
Metacello new baseline: 'WodenEngine'; repository: 'github://woden-engine/woden'; load
but SYSMEL generates an error 'Could not resolve: BaselineOfSysmel', and trying to compile it generates a C error. (It's trying to use linux calls on a macintosh.) I might just use OpenGL instead.
On Thu, Apr 25, 2024 at 9:49 AM Lauren Pullen drurowin@gmail.com wrote:
Hi Eliot,
On 4/25/24 06:46, Eliot Miranda wrote:
Lauren,
take a look at Ronie Salgado’s Woden renderer. It it all Smalltalk
upstream (a Pharo compiler C+*), runs on the gpu, is open source, and has been ported to Squeak. We use this renderer in Virtend (www.3dicc.com). It should solve your performance problem.
I tried to check out
Metacello new baseline: 'WodenEngine'; repository: 'github://woden-engine/woden'; load
but SYSMEL generates an error 'Could not resolve: BaselineOfSysmel', and trying to compile it generates a C error. (It's trying to use linux calls on a macintosh.) I might just use OpenGL instead.
I just tried this on a Mac
(Installer repository: 'http://source.squeak.org/FFI') install: 'FFI-Pools'; install: 'FFI-Kernel'; install: 'FFI-Tests'.
(Installer repository: 'http://www.squeaksource.com/CroquetGL') install: '3DTransform'; install: 'OpenGL-Pools'; install: 'OpenGL-Core'.
OpenGL example.
which used to work, but with the Mac VM I get "*Error: External module not found" *when it's trying to load OpenGL.framework for some reason.
Vanessa
/Applications/Squeak6.1alpha-22952-64bit.app/Contents/MacOS/Squeak Open Smalltalk Cog[Spur] VM [CoInterpreterPrimitives VMMaker.oscog-eem.3339] 64 bit Mac OS X built on Dec 20 2023 14:25:31 UTC Compiler: Apple LLVM 13.0.0 (clang-1300.0.29.30) platform sources revision VM: 202312181441 https://github.com/OpenSmalltalk/opensmalltalk-vm Date: Mon Dec 18 15:41:18 2023 CommitHash: cc2dd90 Plugins: 202312181441 https://github.com/OpenSmalltalk/opensmalltalk-vm CoInterpreter VMMaker.oscog-eem.3339 uuid: b1c834e2-5de7-464c-aeb5-4f2a7b8812d6 Dec 20 2023 StackToRegisterMappingCogit VMMaker.oscog-eem.3339 uuid: b1c834e2-5de7-464c-aeb5-4f2a7b8812d6 Dec 20 2023
On 4/25/24 16:04, Vanessa Freudenberg wrote:
I just tried this on a Mac
(Installer repository: 'http://source.squeak.org/FFI') install: 'FFI-Pools'; install: 'FFI-Kernel'; install: 'FFI-Tests'.
(Installer repository: 'http://www.squeaksource.com/CroquetGL') install: '3DTransform'; install: 'OpenGL-Pools'; install: 'OpenGL-Core'.
OpenGL example. which used to work, but with the Mac VM I get "*Error: External module not found" *when it's trying to load OpenGL.framework for some reason.
Mine loads the module... and then abruptly dies.
Virtual Machine --------------- /Applications/Squeak6.0-22148-64bit.app/Contents/MacOS/Squeak Open Smalltalk Cog[Spur] VM [CoInterpreterPrimitives VMMaker.oscog-eem.3339] 64 bit Mac OS X built on Dec 20 2023 14:21:22 UTC Compiler: Apple LLVM 13.0.0 (clang-1300.0.29.30) platform sources revision VM: 202312181441 https://github.com/OpenSmalltalk/opensmalltalk-vm Date: Mon Dec 18 15:41:18 2023 CommitHash: cc2dd90 Plugins: 202312181441 https://github.com/OpenSmalltalk/opensmalltalk-vm CoInterpreter VMMaker.oscog-eem.3339 uuid: b1c834e2-5de7-464c-aeb5-4f2a7b8812d6 Dec 20 2023 StackToRegisterMappingCogit VMMaker.oscog-eem.3339 uuid: b1c834e2-5de7-464c-aeb5-4f2a7b8812d6 Dec 20 2023
Ohhh it's quite possible the FFI declarations are not 64-bit clean ... Nope I'm not touching that.
Vanessa
On Thu, Apr 25, 2024 at 5:39 PM Lauren Pullen drurowin@gmail.com wrote:
On 4/25/24 16:04, Vanessa Freudenberg wrote:
I just tried this on a Mac
(Installer repository: 'http://source.squeak.org/FFI') install: 'FFI-Pools'; install: 'FFI-Kernel'; install: 'FFI-Tests'.
(Installer repository: 'http://www.squeaksource.com/CroquetGL') install: '3DTransform'; install: 'OpenGL-Pools'; install: 'OpenGL-Core'.
OpenGL example.
which used to work, but with the Mac VM I get "*Error: External module not found" *when it's trying to load OpenGL.framework for some reason.
Mine loads the module... and then abruptly dies.
Virtual Machine
/Applications/Squeak6.0-22148-64bit.app/Contents/MacOS/Squeak Open Smalltalk Cog[Spur] VM [CoInterpreterPrimitives VMMaker.oscog-eem.3339] 64 bit Mac OS X built on Dec 20 2023 14:21:22 UTC Compiler: Apple LLVM 13.0.0 (clang-1300.0.29.30) platform sources revision VM: 202312181441 https://github.com/OpenSmalltalk/opensmalltalk-vm Date: Mon Dec 18 15:41:18 2023 CommitHash: cc2dd90 Plugins: 202312181441 https://github.com/OpenSmalltalk/opensmalltalk-vm CoInterpreter VMMaker.oscog-eem.3339 uuid: b1c834e2-5de7-464c-aeb5-4f2a7b8812d6 Dec 20 2023 StackToRegisterMappingCogit VMMaker.oscog-eem.3339 uuid: b1c834e2-5de7-464c-aeb5-4f2a7b8812d6 Dec 20 2023
Hi, there --
Most recent OpenGL bindings (via FFI) are here: https://github.com/hpi-swa-lab/squeak-graphics-opengl
Morphic OGL rendering experiments (! beware !) are here: https://github.com/hpi-swa-lab/squeak-graphics-canvas
Best, Marcel
Am 26.04.2024 02:44:47 schrieb Vanessa Freudenberg vanessa@codefrau.net:
Ohhh it's quite possible the FFI declarations are not 64-bit clean ... Nope I'm not touching that.
Vanessa
On Thu, Apr 25, 2024 at 5:39 PM Lauren Pullen <drurowin@gmail.commailto:drurowin@gmail.com> wrote: On 4/25/24 16:04, Vanessa Freudenberg wrote:
I just tried this on a Mac
(Installer repository: 'http://source.squeak.org/FFI') install: 'FFI-Pools'; install: 'FFI-Kernel'; install: 'FFI-Tests'.
(Installer repository: 'http://www.squeaksource.com/CroquetGL') install: '3DTransform'; install: 'OpenGL-Pools'; install: 'OpenGL-Core'.
OpenGL example.
which used to work, but with the Mac VM I get "*Error: External module not found" *when it's trying to load OpenGL.framework for some reason.
Mine loads the module... and then abruptly dies.
Virtual Machine --------------- /Applications/Squeak6.0-22148-64bit.app/Contents/MacOS/Squeakhttp://Squeak6.0-22148-64bit.app/Contents/MacOS/Squeak Open Smalltalk Cog[Spur] VM [CoInterpreterPrimitives VMMaker.oscog-eem.3339] 64 bit Mac OS X built on Dec 20 2023 14:21:22 UTC Compiler: Apple LLVM 13.0.0 (clang-1300.0.29.30) platform sources revision VM: 202312181441 https://github.com/OpenSmalltalk/opensmalltalk-vm Date: Mon Dec 18 15:41:18 2023 CommitHash: cc2dd90 Plugins: 202312181441 https://github.com/OpenSmalltalk/opensmalltalk-vm CoInterpreter VMMaker.oscog-eem.3339 uuid: b1c834e2-5de7-464c-aeb5-4f2a7b8812d6 Dec 20 2023 StackToRegisterMappingCogit VMMaker.oscog-eem.3339 uuid: b1c834e2-5de7-464c-aeb5-4f2a7b8812d6 Dec 20 2023
squeak-dev@lists.squeakfoundation.org