morphobj3DS obj 3ds 3D mesh morphing animation

User projects written in or related to FreeBASIC.
chung
Posts: 548
Joined: Jan 16, 2010 20:52
Location: France
Contact:

morphobj3DS obj 3ds 3D mesh morphing animation

Postby chung » Jan 10, 2018 10:20

i have made a free morphobj3DS_chung.dll obj 3ds 3D mesh morphing dll with an openGL walking elephant animation example in freebasic.

=> http://chungswebsite.blogspot.fr/search/label/morphobj3ds_chung
chung
Posts: 548
Joined: Jan 16, 2010 20:52
Location: France
Contact:

Re: morphobj3DS obj 3ds 3D mesh morphing animation

Postby chung » Sep 17, 2018 6:17

(16/09/2018) added Shadowobj3DS & Shadowobj3DS200 functions to calculate the shadow on flat terrain version of a loaded in memory mesh.

co1,si1,tan2 = direction of the sun

Code: Select all

Function shadowobj3DS Cdecl Alias "shadowobj3DS" (ByVal myobj As myobj_type Ptr,ByVal myobj1 As myobj_type Ptr, _ 
                                                  ByVal co1 As Single, _ 
                                                  ByVal si1 As Single, _ 
                                                  ByVal tan2 As Single, _ 
                                                  ByVal dh As single)As Integer export

Function shadowobj3DS200 Cdecl Alias "shadowobj3DS200" (ByVal myobj As myobj_type200 Ptr,ByVal myobj1 As myobj_type200 Ptr, _ 
                                                  ByVal co1 As Single, _ 
                                                  ByVal si1 As Single, _ 
                                                  ByVal tan2 As Single, _ 
                                                  ByVal dh As single)As Integer export   (up to 200k vertices version)


i use it in "seashore3D_chung" to draw fast town mesh and ladies shadows .

http://chungswebsite.blogspot.com/2018/08/seashorechung-3d-island-ocean-seashore.html

Return to “Projects”

Who is online

Users browsing this forum: No registered users and 2 guests