Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] So I can use functions that aren't in a .cc file right ?

[DiscordArchive] So I can use functions that aren't in a .cc file right ?

[DiscordArchive] So I can use functions that aren't in a .cc file right ?

Pages (3): Previous 1 2 3 Next
rektbyfaith
Administrator
0
09-24-2024, 05:53 PM
#11
Archived author: Titi • Posted: 2024-09-24T17:53:08.104000+00:00
Original source

We might have to move back to python and just super optimize it. Some example of stuff that can be improved https://discord.com/channels/40204919974...7880527892

This isn't sustainable anyway it's too hard to maintain and debug.
rektbyfaith
09-24-2024, 05:53 PM #11

Archived author: Titi • Posted: 2024-09-24T17:53:08.104000+00:00
Original source

We might have to move back to python and just super optimize it. Some example of stuff that can be improved https://discord.com/channels/40204919974...7880527892

This isn't sustainable anyway it's too hard to maintain and debug.

rektbyfaith
Administrator
0
09-24-2024, 05:53 PM
#12
Archived author: <o> • Posted: 2024-09-24T17:53:52.132000+00:00
Original source

the python api isn't too bad, for very expensive computations you can instead just create your own data that you do c++ calculations on and then move it back to python before you upload it to the model
rektbyfaith
09-24-2024, 05:53 PM #12

Archived author: <o> • Posted: 2024-09-24T17:53:52.132000+00:00
Original source

the python api isn't too bad, for very expensive computations you can instead just create your own data that you do c++ calculations on and then move it back to python before you upload it to the model

rektbyfaith
Administrator
0
09-24-2024, 05:55 PM
#13
Archived author: <o> • Posted: 2024-09-24T17:55:28.852000+00:00
Original source

iirc the parts of wbs that is done in c++ is done so because the computations themselves are very expensive, not because too much data is written to the model
rektbyfaith
09-24-2024, 05:55 PM #13

Archived author: <o> • Posted: 2024-09-24T17:55:28.852000+00:00
Original source

iirc the parts of wbs that is done in c++ is done so because the computations themselves are very expensive, not because too much data is written to the model

rektbyfaith
Administrator
0
09-24-2024, 05:55 PM
#14
Archived author: Titi • Posted: 2024-09-24T17:55:51.367000+00:00
Original source

Pywoowlib can also be moved to C++. I did some benchmarking and pywowlib is like 20% of processing time
rektbyfaith
09-24-2024, 05:55 PM #14

Archived author: Titi • Posted: 2024-09-24T17:55:51.367000+00:00
Original source

Pywoowlib can also be moved to C++. I did some benchmarking and pywowlib is like 20% of processing time

rektbyfaith
Administrator
0
09-24-2024, 05:58 PM
#15
Archived author: <o> • Posted: 2024-09-24T17:58:19.379000+00:00
Original source

i do have some wip extensions to the c++ wow library that skarn wrote, but i'm not very sure if i'll find the time to actually finish it. it does contain the basic building blocks for creating rather powerful declarative but customizable read/write operations for things like chunk-based files and m2s
rektbyfaith
09-24-2024, 05:58 PM #15

Archived author: <o> • Posted: 2024-09-24T17:58:19.379000+00:00
Original source

i do have some wip extensions to the c++ wow library that skarn wrote, but i'm not very sure if i'll find the time to actually finish it. it does contain the basic building blocks for creating rather powerful declarative but customizable read/write operations for things like chunk-based files and m2s

rektbyfaith
Administrator
0
09-24-2024, 05:59 PM
#16
Archived author: <o> • Posted: 2024-09-24T17:59:17.987000+00:00
Original source

it's a kind of code generator that produces versionable templates without being complex to write
rektbyfaith
09-24-2024, 05:59 PM #16

Archived author: <o> • Posted: 2024-09-24T17:59:17.987000+00:00
Original source

it's a kind of code generator that produces versionable templates without being complex to write

rektbyfaith
Administrator
0
09-24-2024, 06:04 PM
#17
Archived author: <o> • Posted: 2024-09-24T18:04:34.063000+00:00
Original source

if you move the i/o logic to c++, it might be worth looking into writing only thin wrappers for the c++ part of the addon to upload model data and just do all other processing in c++
rektbyfaith
09-24-2024, 06:04 PM #17

Archived author: <o> • Posted: 2024-09-24T18:04:34.063000+00:00
Original source

if you move the i/o logic to c++, it might be worth looking into writing only thin wrappers for the c++ part of the addon to upload model data and just do all other processing in c++

rektbyfaith
Administrator
0
09-24-2024, 06:05 PM
#18
Archived author: <o> • Posted: 2024-09-24T18:05:31.369000+00:00
Original source

my bxx addon does have things in place for writing even gui stuff in c++, though that might be taking things a bit far
rektbyfaith
09-24-2024, 06:05 PM #18

Archived author: <o> • Posted: 2024-09-24T18:05:31.369000+00:00
Original source

my bxx addon does have things in place for writing even gui stuff in c++, though that might be taking things a bit far

rektbyfaith
Administrator
0
09-24-2024, 06:10 PM
#19
Archived author: Titi • Posted: 2024-09-24T18:10:18.183000+00:00
Original source

so actually I think the only time the blender API is called is when initializing data, we could fetch the data in python and pass it to C++ the same way we already pass the mesh pointer.

we just get the corner_verts ptr before in python if possible instead
[Image: image.png?ex=690c3bca&is=690aea4a&hm=53e...7395a4fed&]
rektbyfaith
09-24-2024, 06:10 PM #19

Archived author: Titi • Posted: 2024-09-24T18:10:18.183000+00:00
Original source

so actually I think the only time the blender API is called is when initializing data, we could fetch the data in python and pass it to C++ the same way we already pass the mesh pointer.

we just get the corner_verts ptr before in python if possible instead
[Image: image.png?ex=690c3bca&is=690aea4a&hm=53e...7395a4fed&]

rektbyfaith
Administrator
0
09-24-2024, 06:11 PM
#20
Archived author: Titi • Posted: 2024-09-24T18:11:56.966000+00:00
Original source

the blender classes aren't even really used anymore, blender separated everythnig to simple float3, int3 etc arrays instead of like MVert
rektbyfaith
09-24-2024, 06:11 PM #20

Archived author: Titi • Posted: 2024-09-24T18:11:56.966000+00:00
Original source

the blender classes aren't even really used anymore, blender separated everythnig to simple float3, int3 etc arrays instead of like MVert

Pages (3): Previous 1 2 3 Next
Recently Browsing
 
Recently Browsing