flat assembler
Message board for the users of flat assembler.
Index
> Macroinstructions > Macro three files |
Author |
|
Overclick 08 Aug 2022, 09:23
Use my .stream then. You can easily transfer the parts of code to any place you want.
The big update of multisection macro coming soon. |
|||
08 Aug 2022, 09:23 |
|
Roman 08 Aug 2022, 09:46
Overclick wrote: Use my .stream Whear is you stream? |
|||
08 Aug 2022, 09:46 |
|
Overclick 08 Aug 2022, 10:03
Quote:
multisection |
|||
08 Aug 2022, 10:03 |
|
Roman 08 Aug 2022, 11:22
Please give link site.
|
|||
08 Aug 2022, 11:22 |
|
donn 09 Aug 2022, 01:21
Yeah, definitely, if you parameterize the three sections, you can make them generic.
I'm not great at macros, more familiar with building functions, but if you break down what the parameters to each section are, maybe someone can help with how to turn that into a macro. For example: 1 block load 3d mesh - What are inputs? Outputs? - OBJ format? - I guess input might be filename - then you open file in macro, loop through each line - build list of faces, vertices - output is structure that has these lists 2 block generate mesh level positions - What does this mean? are you building a transform matrix that transforms into world space? - input is maybe the struct from step 1, plus world position info, output is same struct with the transform matrix 3 block draw mesh - input is struct - draw with api using index buffer, vertex buffer - end draw call recording if thats how api works Graphics is tough and tedious, and I'm not great at macros, but think these are the pieces. Also, curious what platforms your're using and libraries to display,, i.e. DX12 or Vulkan |
|||
09 Aug 2022, 01:21 |
|
Roman 09 Aug 2022, 10:30
Only Windows 10 Directx11, Directx 12
|
|||
09 Aug 2022, 10:30 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.