OpenGl 3d :improve render

General FreeBASIC programming questions.
Post Reply
Hedgehog
Posts: 4
Joined: Sep 30, 2022 17:45

OpenGl 3d :improve render

Post by Hedgehog »

2022 ,September 30
'
Hello FB Team
'
My name is chuck hedgehog and I'm new to this community.
'
here is my 1st demonstration which needs some improvements:
https://www.mediafire.com/file/4eduyl2d ... e.zip/file
'
Feel free to improve the code (esp rendern)
to post here or to send to : ****
'
look forward for good teamwork :
Chuch Hedgehog
Last edited by paul doe on Sep 30, 2022 19:02, edited 1 time in total.
Reason: Removed email for security reasons.
paul doe
Moderator
Posts: 1661
Joined: Jul 25, 2017 17:22
Location: Argentina

Re: OpenGl 3d :improve render

Post by paul doe »

Welcome to the forum, Chuck. As you can see, I've removed the email as you posted it to avoid bots to pick it up and flood your mail with spam.

Should any member be interested in helping, you can share your mails via the PM function of the forum. Have fun and enjoy your stay.
jepalza
Posts: 136
Joined: Feb 24, 2010 10:08
Location: Spain (Bilbao)

Re: OpenGl 3d :improve render

Post by jepalza »

You forgot to mention that two extra files are needed, coming from "NeHe".
#include once "include/createtex.bi"
#include once "include/bmpload.bi"

Also, there is a missing file that your code needs, in line 93:
#Include "test/.test008.txt" 'important for render and texture_load

Without them, it does not work.
Hedgehog
Posts: 4
Joined: Sep 30, 2022 17:45

Re: OpenGl 3d :improve render

Post by Hedgehog »

Hi FB_team ++++

you are right saying that 3 files need to be included.
In:
.test008.txt is actually only needed:
glEnable(GL_CULL_FACE) :glCullFace(GL_BACK)
'
works for the box_field which is oterwise rendered incorrect.
The spheres do actually not any cope with GL_CULL_FACE
and are from a far distance rendered imperfect.
'
I'm trying to find a way to render all great and perfect,
like i have it with Basic 4Gl.
'
I thought yall have createtex.bi and bmpload.bi in petto.
If not , here is the newest version:
76_on_OpenGL Impossible Possible and freebasic.zip
download:
https://www.mediafire.com/file/o2ison1d ... c.zip/file
'
it contains freebasic 1.07 and all (bi)_file to include.
'
Improvements: Vector_text in 3D_Room.
'
If you can write imrovements or correcture for this new code.
I look forward to see this code by you improved.
'
sincerly
Chuck Summer
Hedgehog
Posts: 4
Joined: Sep 30, 2022 17:45

Re: OpenGl 3d :improve render

Post by Hedgehog »

Hello everybody
'
The Download with mediafire was a failure and therefore I put new files
into this file storage :
'
https://drive.google.com/drive/folders/ ... sp=sharing
'
find in this public folder the newest version:
80.02.11.31g.fin.bas
'
Hedgehog PCN
Post Reply