flat assembler
Message board for the users of flat assembler.

Index > Windows > win3ds

Goto page Previous  1, 2, 3, 4, 5, 6  Next
Author
Thread Post new topic Reply to topic
macgub



Joined: 11 Jan 2006
Posts: 338
Location: Poland
macgub 12 Sep 2019, 07:57
Its over a year I released last version of win3ds app. During a year I tried improve it by calculating raycasted shadows, merging neighbour triangles wit similar normal vector etc.. But it was leak of competence, knowledge, stubborn etc.. I implemented only a few changes. Maybye I publish new version soon, (or not so soon). Anyway thanks to all people who took look at my app. Best wishes Exclamation
Post 12 Sep 2019, 07:57
View user's profile Send private message Visit poster's website Reply with quote
macgub



Joined: 11 Jan 2006
Posts: 338
Location: Poland
macgub 15 Sep 2019, 16:53
win3ds22.
News:
Bit changed flat triangle rendering procedure with writing to cache. New Gouraud shaded line procedure (thx Pablo Reda). Writing normal vectors option (button in menu). Bit more elegant simple line drawing proc.

sources and binaries Arrow http://macgub.co.pl/win/win3ds22.7z
screenshot Arrow http://macgub.co.pl/win/win3ds22_big.jpg


Last edited by macgub on 16 Jan 2022, 17:01; edited 2 times in total
Post 15 Sep 2019, 16:53
View user's profile Send private message Visit poster's website Reply with quote
pabloreda



Joined: 24 Jan 2007
Posts: 115
Location: Argentina
pabloreda 16 Sep 2019, 00:07
I can't access.
Why not upload you great work to github?
Post 16 Sep 2019, 00:07
View user's profile Send private message Visit poster's website Reply with quote
macgub



Joined: 11 Jan 2006
Posts: 338
Location: Poland
macgub 16 Sep 2019, 18:00
@Pablo
I think my server is not 100% online. Its paid hosting, cheapes I found, but worst than many others free. Git - yes many people migrate to this site. Perhaps its option for me.
@all
Please tell me if you have problems with acces. This humble request is not obligatory. i know server is slow, ugly and about 30% online.
Post 16 Sep 2019, 18:00
View user's profile Send private message Visit poster's website Reply with quote
Roman



Joined: 21 Apr 2012
Posts: 1617
Roman 19 Oct 2019, 06:52
What about GUI(graphical user interface) demos ?
Very interesting look how write owner GUI in Directx\OpenGL without glut\winapi.

Interesting how calculate size buttons,ListBox.
Post 19 Oct 2019, 06:52
View user's profile Send private message Reply with quote
macgub



Joined: 11 Jan 2006
Posts: 338
Location: Poland
macgub 22 Oct 2019, 19:14
Roman
I don't know what you exactly mean. Is your post question, or just comment? Anyway, thanks for reply. [/b]
Post 22 Oct 2019, 19:14
View user's profile Send private message Visit poster's website Reply with quote
Roman



Joined: 21 Apr 2012
Posts: 1617
Roman 24 Oct 2019, 13:53
I mean simple example GUI without glut\winapi on OpenGL.
Draw button or combobox on OpenGL without glut.
And resize GUI on window size. If user change window size.
Post 24 Oct 2019, 13:53
View user's profile Send private message Reply with quote
macgub



Joined: 11 Jan 2006
Posts: 338
Location: Poland
macgub 13 Mar 2020, 19:01
Hello !!
win3ds23 is out. Some info form new.txt file:
Quote:

What new was implemented?:
+ 32 bit indexes of vertices and many changes according this.
+ Multi cores calculating normal vectors according to both triangles and vertices.
+ More accurrate joining ( 'M' key) and editing (scale, translate) new mesh.
+ Better remove redundant vertices proc.
+ Option to merging triangles.
+ New triangulation procedure.
- Disabled creating and editing solid rotated bezier curve and short pipes
option and buttons according to this edition.


Knowed bugs, not yet removed:
- Triangulation of 'Cordis Christi' object not correct.
- In edit edges option apear some not needed additional edit bars.
- No ability to edit long pipe (but renedering process OK).
- No ability to save 3ds file of object that contains more than 65535 vertices
or triangles. ( But saving to asc file - OK ).


Please, take a look at version 23. Thanks. Bye.
To download please browse http://macgub.co.pl


Last edited by macgub on 24 Apr 2021, 08:37; edited 1 time in total
Post 13 Mar 2020, 19:01
View user's profile Send private message Visit poster's website Reply with quote
macgub



Joined: 11 Jan 2006
Posts: 338
Location: Poland
macgub 26 Jul 2020, 08:14
Hey!
New 24 version. From whatsnew.txt:
Quote:
What new was implemented?:
+ Several messages about current processed function appear on top bar.
+ New uniqe detection of edges procedure.
+ Teslation of chosen area, not only on whole object. I returned back to
prevoious avialable option but now is on 32 bit indexes and multithreaded.
+ Dispalying information about object table: edges, faces, vertices count.
+ Bit improved (?) merging triangles option.

Bugs, that still present:
- Triangulation of 'Cordis Christi' object not correct.
Object degenerated - it need rewrite.
- In edit edges option apear some not needed additional edit bars.
- No ability to edit long pipe (but renedering process OK).
- Saving only first 65535 vertices and triangles to 3ds file.( But saving to asc file - OK ).
- Many others Sad


bin and src attached.
To download please browse http://macgub.co.pl
Bye Very Happy


Last edited by macgub on 24 Apr 2021, 08:37; edited 1 time in total
Post 26 Jul 2020, 08:14
View user's profile Send private message Visit poster's website Reply with quote
shirleyjonesz711



Joined: 17 Aug 2020
Posts: 1
shirleyjonesz711 17 Aug 2020, 03:29
Can you perhaps share here the full comprehensive tutorial of the UI code? Thank you! So I can adapt it to my website abc ya games and Gacha Life, which can be found on chrome store using this link https://chrome.google.com/webstore/detail/gacha-life-games-extensio/bidldpedmamenefcipmhojmhjohmblnl. It's almost finished but I'd still like to have some furnished. Thank you!
Post 17 Aug 2020, 03:29
View user's profile Send private message Reply with quote
macgub



Joined: 11 Jan 2006
Posts: 338
Location: Poland
macgub 19 Aug 2020, 03:29
Thanks Shirley for reply.
My user interface is not clear, so you have right it requires some polish. I hope you read readme.txt file, or header of win3ds.asm file (located in src folder) . It will give some info about UI. Main idea of near all buttons is cyclic switchin beetwen various options . If last option is achived, the first is switched. ( so organised are rendering mode button, rotary mode button, displayed models buttons...). Some buttons performs single operation:(teslate button, remove redundant vertices button...). Some operations are supported only by pressing key on keyboard; Mainly loadnig file operations: X key - loading texture (only uncompressed raw format is supported), N - loading new object, M - joining new object to previously loaded object... Again sorry for ugly UI.
Good luck!!!
Post 19 Aug 2020, 03:29
View user's profile Send private message Visit poster's website Reply with quote
macgub



Joined: 11 Jan 2006
Posts: 338
Location: Poland
macgub 17 Oct 2020, 20:03
Hello Exclamation
Version 25.
From whatsnew.txt
Quote:

1. Ability to edit bezier patches. To edit patches press E key or 'b. derives'
button - draw bezier derives, before that select bezier object you want to
edit - press B key or 'bezier sr.' button times you need, stop animation
(press F11 key or button 'run/stop'). Now edit by moving yellow bars
with pressed left mouse button, when left button is released new position
of bar and bezier derive is accepted. Bezier patches are recalculated
permanently. To achive previous geometry restart app.
2. I took attempt to removing inside faces and vertices - it means faces that
from all points of view are hidden. It process (near) correctly when
triangles are relative not so small. Try to use selecting 'Rm ins fac' button.
3. I try with new rendering model - fur processing. In this model clipping
was not maked - if object excedess screen app will hang.
4. I remove some bugs. (But some still are present).

Binaries and sources in file win3ds25.7z Exclamation
To download please browse http://macgub.co.pl


Last edited by macgub on 24 Apr 2021, 08:38; edited 1 time in total
Post 17 Oct 2020, 20:03
View user's profile Send private message Visit poster's website Reply with quote
idle



Joined: 06 Jan 2011
Posts: 438
Location: Ukraine
idle 18 Oct 2020, 02:03
Via the years past...
Eh, nostalgia recall.
Damn it, how good!
Tnx and jello!
Post 18 Oct 2020, 02:03
View user's profile Send private message Reply with quote
macgub



Joined: 11 Jan 2006
Posts: 338
Location: Poland
macgub 05 Dec 2020, 17:30
Jello !!
Win3ds26 is out. From whatsnew file:
Quote:
What's new in version 26?
1. Fixed edition of bezier patches.
2. I made remove cracks feature. -> When only part of object is
teslated (triangulized), on borders araises slits (cracks), that
are caused by wrong declaration of triangles in triangles net.
Now app perform prevention of such artifact. But another artifact
will occur - crack prevention in my implementation would caused
long, thin triangles, especially when mass teslation of chosen area is
performed. That can be avoid by "step by step" shrinking teslation,
area, when proces is launched. Also I could implement correction of
valence balace in future. I include sample object teslated with new
features and aplied displacement in app package. Note: chosing
teslate area - under 'set t. area' button.
3. Backface culling option and apropiate button in menu.
4. Clipping on fur rendering model and dividing it into threads, still
need polish.

My attempts:
I took attempt, but unfortunetly not succesful:
1. Smoothing inside edges, that are usually jagged
after removing inside faces.
2. Smoothing long, multi segment Bezier pipes.
When curve turn onto Z axis, rendered pipe also turns,
around itself, which looks annoying.

I have new hosting provider. Test it carefully Very Happy
http://macgub.co.pl/win/win3ds26.7z
Jello !!


Last edited by macgub on 16 Jan 2022, 17:02; edited 2 times in total
Post 05 Dec 2020, 17:30
View user's profile Send private message Visit poster's website Reply with quote
macgub



Joined: 11 Jan 2006
Posts: 338
Location: Poland
macgub 08 Feb 2021, 16:56
Hi !
Version 27. From whatsnew.txt file:
Quote:

What's new in version 27?
1. Detecting collided edges button - detect and count edges that
intersect other triangles. Such edges are marked green on
rendered image.
2. Mark separate chunks button. Mark with unique color edge of
triangles that are adjacent one to another - it mean from one
of such triangle is posible "to go" along its edges (and vertices)
to other triangle from separate chunk. Chunks are counted.
3. Smooth inside edges button. When removing inside faces is
performed, some inside edges from separate chunk can be
jagged. This option fix such situation. Some small margin are
leaved. Option need correct declared normal vectors sense in
each chunk.
4. Scroll bar in buttons section of screen. Press left mouse button
when cursor is on scroll bar and move mouse with pressed left
button - buttons section will be scrolled.




http://macgub.co.pl/win/win3ds27.7z Arrow bin & src
http://macgub.co.pl/win/win3ds27_big.jpg Arrow screenshot


Last edited by macgub on 16 Jan 2022, 17:02; edited 3 times in total
Post 08 Feb 2021, 16:56
View user's profile Send private message Visit poster's website Reply with quote
idle



Joined: 06 Jan 2011
Posts: 438
Location: Ukraine
idle 17 Mar 2021, 18:40
Good day, mac!
Which data type do you prefer|recommed for ?vecN, ?matN description?
And what would TODO?
Post 17 Mar 2021, 18:40
View user's profile Send private message Reply with quote
macgub



Joined: 11 Jan 2006
Posts: 338
Location: Poland
macgub 17 Mar 2021, 23:27
Hi idle Exclamation
For math I use single precision. I think its enough, and take less memory than double. But, for ray tracing with deep calculation double pracision is needed. Of course there could be fixed point calculations of vertices, matrices and so on but this was not commonly used even in FPU days.
TODO list and future plans... Arrow I have many thoughts in my head, now I can only say: all can happen... Smile
Greetings for you, idle and all. Stay safe Exclamation
Post 17 Mar 2021, 23:27
View user's profile Send private message Visit poster's website Reply with quote
idle



Joined: 06 Jan 2011
Posts: 438
Location: Ukraine
idle 17 Mar 2021, 23:41
Thanx for replies and the direction.
Post 17 Mar 2021, 23:41
View user's profile Send private message Reply with quote
macgub



Joined: 11 Jan 2006
Posts: 338
Location: Poland
macgub 15 Apr 2021, 13:56
Hi !
Version 28. Whatsnew.txt wrote:
Quote:

What's new in version 28?
1. 'Clip faces' button - faces that are outside teslate rectangle,
are clipped.
2. 'Invert chn' button - invert sense of normal vectors in whole
separate chunk. First 'Srch chunk' must be set "on".
3. 'Crop front' button - only front of object is leaved. Some small
margin (several degrees) is leaved.
4. Rotate posibility of freshly joined mesh ('M' key) under
'NextM edit' button. Such option is achived when red bar on
"edit area" is moved (using left button of mouse).
5. I multithreaded removing inside faces option.
6. Faster detecting collided edges algo (Moeller-Trumbore).
7. Deleting separate chunk posibility.
8. New rendering model - ray casted shadows, it's not real time
model, after rendering one frame app stops, to run it again
switch rendering (drawing) model by pressing 'dr. model'
button.

Maciej Guba, April 2021.
Enjoy !

... and as I wrote, enjoy ! Very Happy
To download search http://macgub.co.pl I dont give directs links bacause url work now as alias and I can not do it (probably I configure badly dns).


Last edited by macgub on 09 Dec 2021, 17:38; edited 1 time in total
Post 15 Apr 2021, 13:56
View user's profile Send private message Visit poster's website Reply with quote
idle



Joined: 06 Jan 2011
Posts: 438
Location: Ukraine
idle 16 Apr 2021, 15:05
Post 16 Apr 2021, 15:05
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  
Goto page Previous  1, 2, 3, 4, 5, 6  Next

< 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-2023, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.