Commit Graph

36 Commits

Author SHA1 Message Date
Elijah Nicol
bddc374b5a Validate mesh in WriteMesh before AttributeBegin call (#5884)
If mesh is validated after AttributeBegin call, then
the AttributeBegin is never closed with an
AttributeEnd, causing problems in pbrt.

Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-12-05 11:10:46 +01:00
Kim Kulling
01231d0e60 Add 2024 to copyright infos (#5475) 2024-02-23 22:30:05 +01:00
Kim Kulling
636fbd65b3 Refactorings: come code cleanups 2023-12-29 16:55:37 +01:00
Kim Kulling
263bebb5ba Add a test before generating the txture folder 2023-12-29 16:55:37 +01:00
Samuel Kogler
55cb19f924 Fix PBRT exporter coordinate system
Was just mirroring the x axis. This uses aiProcess_ConvertToLeftHanded and
rotates the root node to match PBRT.

The problem is apparent when using an environment map texture.
2023-05-03 16:52:33 +02:00
Samuel Kogler
f32c21e6b3 Fix PBRT exporter FoV aspect ratio calculation 2023-05-03 16:46:54 +02:00
Aaron Gokaslan
e93fa6699a Manually fix up 100 more instances where it should be defaulted 2022-08-25 12:20:13 -04:00
Kim Kulling
b7a70ac707 Add compiler switgxh for using static linkage for std_image 2022-05-31 23:24:31 +02:00
Kim Kulling
4e22635406 Update PbrtExporter.cpp 2022-05-31 18:31:19 +02:00
Kim Kulling
472e15c405 Merge branch 'master' into kimkulling/link_stb_image_statically_issue_4467 2022-05-31 17:47:43 +02:00
IOhannes m zmölnig
1d3d5c4bb6 Rename TextureTypeToString() to aiTextureTypeToString()
Closes: https://github.com/assimp/assimp/issues/4493
2022-05-01 13:27:42 +02:00
Kim Kulling
97c7ab3c05 Move stb_image header into its own header file. 2022-04-05 19:53:41 +02:00
Kim Kulling
fa5a8476ee Fix gcc warning: unused function 2022-04-05 19:04:29 +02:00
Kim Kulling
b8658cefe0 Link std_image statically. 2022-04-05 18:48:45 +02:00
Kim Kulling
50c7301a38 Update copyrights 2022-01-10 21:13:43 +01:00
IOhannes m zmölnig
1a9403e787 Fix spelling error in comment in exported Pbrt file
See https://github.com/assimp/assimp/pull/4109#issuecomment-934747675
for a discussion that this is really a comment in the exported file,
and thus the fix should be harmless.
2021-10-08 08:55:02 +02:00
Rahul Sheth
1b37b74f9e Hunter fixes for stb_image 2021-07-07 17:01:19 -04:00
Rahul Sheth
0a5e49252d Merge remote-tracking branch 'origin/master' into HEAD 2021-07-07 16:35:29 -04:00
Aaron Gokaslan
94c3abd841 Apply various performance fixes from clang-tidy 2021-06-22 12:27:15 -04:00
Krishty
816da9b677 merge and update all copies of stb_image.h 2021-05-05 23:15:41 +02:00
contriteobserver
111752cff0 workaround for ASSIMP_DOUBLE_PRECISION compile errors
changed float types to ai_real types as needed

addresses issue #3682
2021-02-28 14:45:39 -08:00
Kim Kulling
9e8dbd0ca5 Update copyrights to 2021. 2021-02-28 12:17:54 +01:00
Matt Pharr
ff8d50c8d0 Fix MSVC compiler warnings 2021-01-12 08:23:53 -08:00
Matt Pharr
09c5564d5b More compiler warnings 2021-01-12 08:16:08 -08:00
Matt Pharr
1fd8646b7a Fix compiler warnings 2021-01-12 08:03:16 -08:00
Matt Pharr
2bc074e35a Additional PBRT exporter cleanups 2021-01-11 19:42:23 -08:00
Matt Pharr
938537c884 Checkpoint improvements to pbrt exporter 2021-01-08 16:57:22 -08:00
Trevor David Black
a0aa067b5f Moved Texture writing into its own function 2020-05-01 08:35:04 -07:00
Trevor David Black
2c9d3bea64 Printing out unique textures 2020-04-30 14:01:09 -07:00
Trevor David Black
3dc550a9b2 Got a working geometry prototype, sponza renders correctly when camera and light is added 2020-04-25 00:10:31 -07:00
Trevor David Black
07065e2235 Working first proof of concept. Renders ambient term in pbrt 2020-04-22 13:38:06 -07:00
Trevor David Black
cb88210c62 Completed scene wide rendering output 2020-04-20 12:23:22 -07:00
Trevor David Black
1045fb7798 Got 90 percent solution for exporting camera data 2020-04-20 11:55:46 -07:00
Trevor David Black
f9f2d617a2 Added a very basic camera. Still work to do 2020-04-17 10:42:13 -07:00
Trevor David Black
3ad53ab630 Printing file metadata 2020-04-08 13:29:03 -07:00
Trevor David Black
8c3b374486 Pbrt file exporter hello world 2020-04-06 12:12:37 -07:00