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: 418
Joined: Wed Apr 09, 2014 1:58 am
Location: Las Vegas, NV

3d graphics

Post by trags3 » Thu Feb 24, 2022 6:54 pm

Is LC capable of working with 3D Graphics?
Tom

Klaus
Posts: 13824
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: 3d graphics

Post by Klaus » Thu Feb 24, 2022 7:03 pm

Hi Tom,

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


Best

Klaus

trags3
Posts: 418
Joined: Wed Apr 09, 2014 1:58 am
Location: Las Vegas, NV

Re: 3d graphics

Post by trags3 » Thu Feb 24, 2022 7:21 pm

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: 418
Joined: Wed Apr 09, 2014 1:58 am
Location: Las Vegas, NV

Re: 3d graphics

Post by trags3 » Thu Feb 24, 2022 7:23 pm

Maybe even the image of a scene.

Klaus
Posts: 13824
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: 3d graphics

Post by Klaus » Thu Feb 24, 2022 7:39 pm

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: 2679
Joined: Sun Jun 04, 2006 9:39 pm
Location: London, UK

Re: 3d graphics

Post by stam » Thu Feb 24, 2022 7:58 pm

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: 418
Joined: Wed Apr 09, 2014 1:58 am
Location: Las Vegas, NV

Re: 3d graphics

Post by trags3 » Thu Feb 24, 2022 8:44 pm

Thanks Stan & Klaus.

trags3
Posts: 418
Joined: Wed Apr 09, 2014 1:58 am
Location: Las Vegas, NV

Re: 3d graphics

Post by trags3 » Thu Feb 24, 2022 8:47 pm

Sorry for the typo Stam!
Tom

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9359
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: 3d graphics

Post by richmond62 » Thu Feb 24, 2022 9:10 pm

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

Post Reply

Return to “Getting Started with LiveCode - Experienced Developers”