Matthew,
thanks a lot for your nice, clean, well commented code.
Eros
NeHe Lesson23 will allow you to toggle between Four different Shapes, toggle the lighting and Texture Quality and show you how to use SphereMapping in your Programmes.
Keyboard Controls...
'L' - Toggle Lighting
'F' - Toggle Filter (Quality of Texture)
SpaceBar - Toggle Between Shapes
Shapes - Cylinder, Sphere, Cone and Cube.
Cursor Key Up - Rotate Up
Cursor Key Down - Rotate Down
Cursor Key Left - Rotate Left
Cursor Key Right - Rotate Right
'PgUp' - Zoom In
'PgDn' - Zoom Out
Operating System: Windows 10 Home 64-bit
CPU: Intel Celeron N4000 CPU @ 1.10GHz
Memory: 4.00GB RAM
Graphics: Intel UHD Graphics 600
Matthew,
thanks a lot for your nice, clean, well commented code.
Eros
www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000
Hi Matthew,
this is one of most interesting NeHe lessons,
thanks for bringing it to thinBASIC!
Interesting is to watch how is it casted to for example on:
[code=thinbasic]
tbgl_Torus 2.5,3.5
[/code]
... or models
If you add blending it looks like from glass...
I think TopDown will use fragments of this lesson
Bye
Learn 3D graphics with ThinBASIC, learn TBGL!
Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB
@Eros - Thanks for the comment.
@Psch - That Human Model looks really good.
Operating System: Windows 10 Home 64-bit
CPU: Intel Celeron N4000 CPU @ 1.10GHz
Memory: 4.00GB RAM
Graphics: Intel UHD Graphics 600
Mathew another superb lesson. Thanks looks awesome!!
Acer Notebook: Win 10 Home 64 Bit, Core i7-4702MQ @ 2.2Ghz, 12 GB RAM, nVidia GTX 760M and Intel HD 4600
Raspberry Pi 3: Raspbian OS use for Home Samba Server and Test HTTP Server
@kryton9 - Thanks
Operating System: Windows 10 Home 64-bit
CPU: Intel Celeron N4000 CPU @ 1.10GHz
Memory: 4.00GB RAM
Graphics: Intel UHD Graphics 600
Hi,
I like this lesson a lot, here is little script using the spherical mapping shown in Mathews code.
It is quick try to create water like surface. Although it does not look like real water, I think it is better than just wawing surface with static texture. It handles up to 3 wave generators at time, more is possible, but quite slow.
Just click-click-click
Bye,
Petr
Learn 3D graphics with ThinBASIC, learn TBGL!
Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB
I've just tried your programme and it looked like a very realistic water effect.
Operating System: Windows 10 Home 64-bit
CPU: Intel Celeron N4000 CPU @ 1.10GHz
Memory: 4.00GB RAM
Graphics: Intel UHD Graphics 600
Looks great here.
Thank you
Petr
Learn 3D graphics with ThinBASIC, learn TBGL!
Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB
Bookmarks