flat assembler
Message board for the users of flat assembler.

Index > Main > 3D Engines

Author
Thread Post new topic Reply to topic
comrade



Joined: 16 Jun 2003
Posts: 1150
Location: Russian Federation
comrade 11 Sep 2016, 04:51
If you have written a 3D engine (in asm, C, Pascal, Basic, whatever), I'd be curious to see it!

I am writing one now (in C), resuming my work from 15 years ago. I hope to share it soon, once it reaches demo state Smile (working on texture mapping now and occlusion)

_________________
comrade (comrade64@live.com; http://comrade.ownz.com/)
Post 11 Sep 2016, 04:51
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number Reply with quote
idle



Joined: 06 Jan 2011
Posts: 440
Location: Ukraine
idle 11 Sep 2016, 06:25
goood day comrade
do you plan using opengl, directx,.. or modern cpu extensions?
thank you for an open-source approach, it inspires/motivates/lifts from an abbys
goood luck
Post 11 Sep 2016, 06:25
View user's profile Send private message Reply with quote
comrade



Joined: 16 Jun 2003
Posts: 1150
Location: Russian Federation
comrade 12 Sep 2016, 04:00
I plan specifically on NOT using opengl, directx, and perform all rendering in software.

Как дела в Украине? С какого города вы? У нас здесь футбольная комманда, много лет вместе играем, а в 2014 не скольких "подвинуло". Обидно.
Post 12 Sep 2016, 04:00
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number Reply with quote
idle



Joined: 06 Jan 2011
Posts: 440
Location: Ukraine
idle 12 Sep 2016, 04:31
I will be waiting.

У руля бл#яди, а я устал и хочу мира, спасибо. Чернигов...
Post 12 Sep 2016, 04:31
View user's profile Send private message Reply with quote
bitRAKE



Joined: 21 Jul 2003
Posts: 4073
Location: vpcmpistri
bitRAKE 12 Sep 2016, 16:20
macgub is the first to come to mind.
https://board.flatassembler.net/topic.php?t=15011
http://www.macgub.hekko.pl/

He too has been working in a similar manner for a long time. There are others, but I will need to look through my archives.
Post 12 Sep 2016, 16:20
View user's profile Send private message Visit poster's website Reply with quote
avcaballero



Joined: 02 Feb 2004
Posts: 211
Location: Madrid - Spain
avcaballero 19 Sep 2016, 15:53
Everything just in GDI, no opengl, directx or external lib:
RayCasting
Textured cube
My first demo
My user's still working Laughing
Post 19 Sep 2016, 15:53
View user's profile Send private message Visit poster's website Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3499
Location: Bulgaria
JohnFound 19 Sep 2016, 16:35
avcaballero wrote:
My user's still working Laughing


Welcome. You simply need to come back home more often. Very Happy

_________________
Tox ID: 48C0321ADDB2FE5F644BB5E3D58B0D58C35E5BCBC81D7CD333633FEDF1047914A534256478D9
Post 19 Sep 2016, 16:35
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
Picnic



Joined: 05 May 2007
Posts: 1403
Location: Piraeus, Greece
Picnic 20 Sep 2016, 07:31
@avcaballero very nice! p.s. i can't locate your windows graphic tutorials the link in not working.
Post 20 Sep 2016, 07:31
View user's profile Send private message Visit poster's website Reply with quote
avcaballero



Joined: 02 Feb 2004
Posts: 211
Location: Madrid - Spain
avcaballero 20 Sep 2016, 08:40
Yes, I'm sorry. I had to down my website because some av gave some false positives in some TinyC programs. Mainly in AOWC and in AOWG (this last one is what you are looking for). It seems that the key is giving information to the file such as icos, text info, etc, otherwise it seems to be suspicious. Until I have time to change them, I cannot upload.

Regards
Post 20 Sep 2016, 08:40
View user's profile Send private message Visit poster's website Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3499
Location: Bulgaria
JohnFound 20 Sep 2016, 08:55
You should not change your code to please the AVs. This is the way to the hell. Very Happy
Better submit your programs on the AV web site with false positive report.
This way they will change their code, simply because they are wrong and you are right.
Surprisingly, this works most of the time for me.
Post 20 Sep 2016, 08:55
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
Picnic



Joined: 05 May 2007
Posts: 1403
Location: Piraeus, Greece
Picnic 20 Sep 2016, 09:14
avcaballero wrote:
Yes, I'm sorry. I had to down my website because some av gave some false positives in some TinyC programs.


I know, last week i had a lot of trouble trying to visit your pages.
Post 20 Sep 2016, 09:14
View user's profile Send private message Visit poster's website Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20451
Location: In your JS exploiting you and your system
revolution 20 Sep 2016, 09:23
My suggestion is to ignore the AVs. It is just more work for you and no benefit to the users or yourself. AVs don't work as advertised, as shown by the continuing reports of people with active AVs still getting caught with new stuff.

If you are worried about losing potential users because they trust their AVs so much then so be it. Such unquestioning blind faith in things needs to be removed and a dose of scepticism put in its place. Twisted Evil

However, even so, AVs do serve a role in some situations where they can catch a lot of the old problem malware. Usually a few months to a few years after the malware has been released. So for old software you can run it through virustotal and check there. But still be aware of malware has has yet to be found even in old code. [/rant] Razz
Post 20 Sep 2016, 09:23
View user's profile Send private message Visit poster's website Reply with quote
avcaballero



Joined: 02 Feb 2004
Posts: 211
Location: Madrid - Spain
avcaballero 20 Sep 2016, 09:24
JohnFound wrote:
You should not change your code to please the AVs. This is the way to the hell. Very Happy

Yes, I think so, but I have no time to fight with them. I even had to change the folder from "AOW32" to "AOW32_". Fortunatelly I still can add some more underscores Laughing

_________________
Siempre aprendiendo
Post 20 Sep 2016, 09:24
View user's profile Send private message Visit poster's website Reply with quote
avcaballero



Joined: 02 Feb 2004
Posts: 211
Location: Madrid - Spain
avcaballero 20 Sep 2016, 09:33
revolution wrote:
If you are worried about losing potential users

They even flag my website as suspicious and google and others showed it as a red page saying something like "if you dare, get into", which is not very handy to show to anybody Sad For some programs they extended the exclusion to the whole site. Fortunately at present is up again Razz

_________________
Siempre aprendiendo
Post 20 Sep 2016, 09:33
View user's profile Send private message Visit poster's website Reply with quote
pabloreda



Joined: 24 Jan 2007
Posts: 116
Location: Argentina
pabloreda 20 Sep 2016, 17:56
I write a software voxel engine in a forth lang
https://github.com/phreda4/reda4

I not finish but i have and basic editor a viewer and a unfinished game.

some lib are common for a basic rasterizer, like zbuffer or polygon filling..
I do all in integer math, some fixed point.

The compiler use fasm for make standalone exe.

wait for see you implementation!
Post 20 Sep 2016, 17:56
View user's profile Send private message Visit poster's website Reply with quote
donn



Joined: 05 Mar 2010
Posts: 321
donn 28 Sep 2016, 19:34
I just started looking into Spir-V https://www.khronos.org/spir. I've been using HLSL a lot lately. Not sure why, but switching between FASM and HLSL leaves something to be desired. I will be writing more and more compute shaders for mechanics simulations and probably writing some results to OpenEXR image files if it goes well. Not sure if every GPGPU language requires "views" to resources/buffers, and if the memory model is the same for each (still learning HLSL's), but I may look for an alternative to HLSL later.

I wonder if fasmg would provide conveniences for Spir-V? Maybe defining a 'struc' for an x-component Tensor would still require redefining it in the Spir-V shader/kernel, for instance. The message boards here have been very helpful also Was able to refer to someone's implementation of a Taylor Series sine function and then tried my own to a few decimal places. Would be interesting to use this in Spir-V with Quaternion rotations (got this in HLSL with cross products, etc, but used the sine intrinsics. I think Spir-V would need a new function or extension).

Good luck Comrade
Post 28 Sep 2016, 19:34
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.