-
Jan 30th, 2020, 04:12 PM
#1
Thread Starter
New Member
3D Graphics demo and a thank you.
Hi all.
Firstly a bit of self promotion and some flag waving for doing graphics in Vb.net.
Below is a link to a youtube video of a project I have been working on for about a year, off and on.
https://www.youtube.com/watch?v=KUZfOZ31Nus
If you didn't click its a 3d model viewer written entirely in visual Basic, no Opengl etc.
As this is a software renderer it is hard to give performance numbers other than for my own machine which is using a Ryzen 3600 running @ 3.8ghz
So. A 150k triangle model draws at around 55-60 fps with back face culling on and wireframe off.
Finally a thank you to boops boops who's posts regarding his creation fastpix gave me hope long ago when I was banging my head on GDI drawing. Trying to make it go faster. I never did use fastpix but knowing it could be done and how, lead eventually to the above.
[edit] http://www.vbforums.com/showthread.p...mies-and-Dudes
Last edited by Rapscallion; Jan 30th, 2020 at 05:27 PM.
-
Jan 31st, 2020, 04:23 PM
#2
Thread Starter
New Member
Re: 3D Graphics demo and a thank you.
If anyone is interested:
https://github.com/5everin/3D-Model-Viewer
I would just like to add that this code is not well structured. I started out on this with no idea how to do 3d graphics. It is a product of me learning how to do this as I went along and adapting what I had codewise to fit.
-
May 19th, 2022, 02:05 PM
#3
Hyperactive Member
Re: 3D Graphics demo and a thank you.
hmm is there a vs2010 version
-
May 19th, 2022, 03:42 PM
#4
Thread Starter
New Member
Re: 3D Graphics demo and a thank you.
Originally Posted by gaouser
hmm is there a vs2010 version
Sorry no. It requires .Net 4.6 minimum to support system.numerics (.net 5 or newer is much faster)
You can download Visual studio 2022 for free on the ms website.
-
May 19th, 2022, 07:19 PM
#5
Re: 3D Graphics demo and a thank you.
You are doing all of this on the CPU? If so, does it cause any overheating?
Last edited by dday9; May 19th, 2022 at 07:56 PM.
-
May 20th, 2022, 04:45 AM
#6
Thread Starter
New Member
-
May 20th, 2022, 08:18 AM
#7
Re: 3D Graphics demo and a thank you.
I am impressed. I read over the code in your github repo (here), it is a bit difficult to follow, but you make it obvious up front that "this is not an example of great coding technique."
Since this is more of a contribution than that question thread I am going to move this to the codebank.
-
May 20th, 2022, 08:34 AM
#8
Hyperactive Member
Re: 3D Graphics demo and a thank you.
i cant install, but i buy i newer pc Windows 10 with HDD but i make it Windows 7 with SSD i dont know it supports
-
May 20th, 2022, 09:00 AM
#9
Thread Starter
New Member
Re: 3D Graphics demo and a thank you.
You should be able to get it working on Win7 but you will still need a newer version of Vis studio that will support .net 4.6-4.8
.net5 brought a large bump in performance and this code benefits greatly from it.
@dday9
Thanks for the comments.
Last edited by Rapscallion; May 21st, 2022 at 09:32 PM.
-
May 21st, 2022, 08:01 AM
#10
Hyperactive Member
Re: 3D Graphics demo and a thank you.
i think 2022s installation never end
-
Jun 26th, 2022, 08:58 AM
#11
Hyperactive Member
Re: 3D Graphics demo and a thank you.
Originally Posted by Rapscallion
Sorry no. It requires .Net 4.6 minimum to support system.numerics (.net 5 or newer is much faster)
You can download Visual studio 2022 for free on the ms website.
bruh I use windows 7 that's not compatible
-
Jun 26th, 2022, 09:00 AM
#12
Hyperactive Member
Re: 3D Graphics demo and a thank you.
Originally Posted by Rapscallion
If anyone is interested:
https://github.com/5everin/3D-Model-Viewer
I would just like to add that this code is not well structured. I started out on this with no idea how to do 3d graphics. It is a product of me learning how to do this as I went along and adapting what I had codewise to fit.
im installing 2017 (real 2015 concept) to win7 is it gonna support ????
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|