3d graphics

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
trags3
Posts: 434
Joined: Wed Apr 09, 2014 1:58 am

3d graphics

Post by trags3 »

Is LC capable of working with 3D Graphics?
Tom
Klaus
Posts: 14325
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: 3d graphics

Post by Klaus »

Hi Tom,

what exactly do you mean with 3D graphics?
Something like what "Untreal Engine" does?


Best

Klaus
trags3
Posts: 434
Joined: Wed Apr 09, 2014 1:58 am

Re: 3d graphics

Post by trags3 »

I'm not quite sure Klaus.
I found a job that said that heavy use of 3D graphics is required. I assume that means the ability to rotate an image of a 3 dimensional object on the screen.
Tom
trags3
Posts: 434
Joined: Wed Apr 09, 2014 1:58 am

Re: 3d graphics

Post by trags3 »

Maybe even the image of a scene.
Klaus
Posts: 14325
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: 3d graphics

Post by Klaus »

Hm, not out of the box.

However Hermann Hoch (hh), who passed away way too early in spring last year,
made some clever things with and inside of the browser widget like (pseudo 3D) image manipulation, browse this thread:
viewtopic.php?f=120&t=25210
And check some of his works here:
http://hh.on-rev.com/html5/index-large.html

Hope that helps.
stam
Posts: 3214
Joined: Sun Jun 04, 2006 9:39 pm

Re: 3d graphics

Post by stam »

Hi Tom,
LC does not support 3D libraries such as openGL etc, so creating a 3D scene natively isn't possible (as far as i know...), hopefully that will change at some point.

For now however, you could possibly work around this with webGL - Version 10 DP2, fixes issues with webGL and now functions properly. You may be able to do a fair amount of 3D stuff in webGL is that's feasible for you...

As an example, create an empty stack in version 10dp2, add a browser widget and set its URL to https://webglsamples.org/blob/blob.html and marvel ;)
webGL.jpg
Hope that helps,
Stam
trags3
Posts: 434
Joined: Wed Apr 09, 2014 1:58 am

Re: 3d graphics

Post by trags3 »

Thanks Stan & Klaus.
trags3
Posts: 434
Joined: Wed Apr 09, 2014 1:58 am

Re: 3d graphics

Post by trags3 »

Sorry for the typo Stam!
Tom
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10428
Joined: Fri Feb 19, 2010 10:17 am

Re: 3d graphics

Post by richmond62 »

Here's something totally fake . . .
-
SShot 2022-02-24 at 22.09.10.png
Attachments
Box.livecode.zip
(85.69 KiB) Downloaded 237 times
Post Reply