flat assembler
Message board for the users of flat assembler.

Index > Windows > win3ds

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



Joined: 11 Jan 2006
Posts: 248
Location: Poland
macgub
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: 248
Location: Poland
macgub
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.j.pl/win/win3ds22.7z
screenshot Arrow http://macgub.j.pl/win/win3ds22_big.jpg


Last edited by macgub on 04 Dec 2020, 05:51; edited 1 time 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: 104
Location: Argentina
pabloreda
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: 248
Location: Poland
macgub
@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: 1025
Roman
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: 248
Location: Poland
macgub
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: 1025
Roman
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: 248
Location: Poland
macgub
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.


Description:
Download
Filename: win3ds23.7z
Filesize: 232.12 KB
Downloaded: 229 Time(s)

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: 248
Location: Poland
macgub
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.
Bye Very Happy


Description:
Download
Filename: win3ds24b.7z
Filesize: 216.58 KB
Downloaded: 161 Time(s)

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
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: 248
Location: Poland
macgub
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: 248
Location: Poland
macgub
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


Description:
Download
Filename: win3ds25.7z
Filesize: 221.2 KB
Downloaded: 115 Time(s)

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: 399
Location: Ukraine
idle
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: 248
Location: Poland
macgub
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 sharpen
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.j.pl/win/win3ds26.7z
Jello !!
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: 248
Location: Poland
macgub
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
sharpen. 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.j.pl/win/win3ds27.7z Arrow bin & src
http://macgub.j.pl/win/win3ds27_big.jpg Arrow screenshot


Description:
Download
Filename: win3ds27.7z
Filesize: 357.33 KB
Downloaded: 40 Time(s)

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: 399
Location: Ukraine
idle
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: 248
Location: Poland
macgub
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: 399
Location: Ukraine
idle
Thanx for replies and the direction.
Post 17 Mar 2021, 23:41
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

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

Website powered by rwasa.