8641 Commits

Author SHA1 Message Date
b42d686277 Import_3ds: Improved distance cue node setup
Change node position if distance cue was found
2024-05-13 22:55:12 +02:00
f2e3297233 Export_3ds: Improved distance cue node export
Changed to more specific node search
2024-05-13 22:43:50 +02:00
dab3cdf202 Export_3ds: Improved distance cue node search
Check all shader and mixer nodes with a strength or factor channel
2024-05-13 22:20:34 +02:00
d38caca4e9 Import_3ds: Improved light path linking
Use diffuse ray for background if there is no volume mix shader
Improved node layout for a better overview
2024-05-13 22:10:57 +02:00
36337efe6b Export_3ds: Improved distance cue nodes setup
Take all nessecary values from maprange node
2024-05-13 13:18:54 +02:00
7adccadceb Import_3ds: Improved distance cue nodes setup
Fixed camera data node position
2024-05-13 13:14:37 +02:00
e8c814cff5 Import_3ds: Improved world nodes setup
Rename some nodes and sockets to clearify wich one is for the distance cue values
Optimize node positions for a better overview
2024-05-13 13:11:39 +02:00
f139aea3f6 Export_3ds: Added distance cue chunk export
Added exporting distance cue chunks
2024-05-13 07:47:52 +02:00
238e231e6e Import_3ds: Improved distance cue chunk import
Fixed mismatched variables
2024-05-13 07:35:25 +02:00
f6b46ae09e Import_3ds: Improved distance cue chunk import
Set values to all sockets
Relink source and target
2024-05-13 07:13:04 +02:00
0a2b786336 Import_3ds: Added distance cue chunk import
Distance cue chunk will now be imported to a world maprange node
nearplane and farplane values are set to sockets From Min and To Max
2024-05-13 06:31:48 +02:00
d17d622c48 Import_3ds: Set unique names for world mixshaders
Set unique name for mixshaders to avoid unbound errors
2024-05-12 12:41:22 +02:00
752d95ca73 Import_3ds: Improved ambient nodes setup
Relink background node
2024-05-12 04:13:41 +02:00
d1aa46d569 Import_3ds: Improved ambient nodes setup
Add light path and falloff if there is an ambient color animation
Create add node and mix node for camera and glossy rays
Connect ray depth to volume scatter ansiotropy
2024-05-12 01:01:51 +02:00
a030a656e2 Import_3ds: Improved light nodes setup
Fixed mismatched light path
2024-05-11 04:08:39 +02:00
62190db052 Import_3ds: Improved light nodes setup
Fixed mismatched nodelink
2024-05-11 03:42:39 +02:00
79412153fe Import_3ds: Improved light nodes setup
Added light falloff node
2024-05-11 03:24:40 +02:00
1dc693108a Import_3ds: Improved ambient nodes setup
Fixed mismatched variables
2024-05-10 14:04:12 +02:00
9d418be865 Import_3ds: Improved world nodes setup
Improved world nodes setup if a chunk is missing
Fixed unbound error if one chunk is missing
Added light path node to light nodes
2024-05-10 14:01:13 +02:00
51fca797f4 Import_3ds: Added light path to world nodes
Fixed ambient light node position
2024-05-10 08:38:33 +02:00
1f6d2a2df2 Import_3ds: Added light path to world nodes
Fixed mismatched variable
2024-05-10 08:36:39 +02:00
3687d191e7 Import_3ds: Added light path to world nodes
Added light path to world node import
2024-05-10 08:34:07 +02:00
731eae09c6 Import_3ds: Improved gradient mapping
Multiply in math node gets a better result
2024-05-09 20:51:33 +02:00
d132dd05d6 Import_3ds: Improved world nodes setup
Added math node for correct gradient
Use reflection normals for gradient
Set mapping to texture for light bitmap
2024-05-09 20:09:40 +02:00
d88424f5d7 Import_3ds: Improved ambient animation import
Set mixer blend types to 'add' for world and light nodes
Removed animation import to emission shader
2024-05-08 18:05:18 +02:00
8127d2e925 Fix #105316: Error import dxf in scene collection
Exclude the case of scene collection when importing to selected collection.

Pull Request: https://projects.blender.org/blender/blender-addons/pulls/105317
2024-05-08 12:56:07 +02:00
6fe582b52e Import_3ds: Improved light nodes setup
Gobo bitmap got a mapping and texture coordinate node
Light color animations are imported to a RGB node
2024-05-08 09:40:51 +02:00
e8c1acd430 Import_3ds: Improved bitmap and gradient world nodes setup
Background bitmap image got a mapping node and gradient a normal node for correct coordinates
Gradient normals are mapped from top to bottom and bitmap got a mapping node to move and scale the image
Moved world import behind material import to match with incoming data stream
2024-05-08 00:17:57 +02:00
ba39f2f832 Export_3ds: Changed gradient color order
Changed gradient color order export for new world nodes setup created by import
2024-05-07 23:23:54 +02:00
6deefbbe41 Import_3ds: Improved layer fog density import
In some 3ds files the density is integer percentage instead of float factor
Check if value is greater than 1 and convert if it is the case
2024-05-06 22:49:59 +02:00
b484623bbe Import_3ds: Fixed tabulator in error message
Fixed tabulator sign in parenting error message
2024-05-06 21:13:15 +02:00
6f63f6562f Import_3ds: Fixed struct error in spline term processing
Raised loop by another bit because 5 bits are needed for spline terms
Terms are <Tension>, <Continuity>, <Bias>, <ease_to> and <ease_from>
2024-05-06 20:36:57 +02:00
05da464b16 I18N: Disable checks on original messages during extraction.
This has become way too much of a burden for the I18N team to deal with.
2024-05-06 12:41:48 +02:00
d2b87570ef Import_3ds: Fixed spline term processing
Usually there should be only 4 binary flags for the spline terms
Limiting the binary flags to the last 4 bits because some files seem to ignore this
2024-05-06 12:40:11 +02:00
943968ad5b Import_3ds: Improved light animation import
Importing light color animation to shader nodes
2024-05-05 16:37:17 +02:00
d5eec1bfc3 Import_3ds: Improved light node import
Create colormix node for light color and RGB node for color animation
Some cleanup, removed old outcommented code for instancing
2024-05-05 15:34:21 +02:00
b40faf7dfa Import_3ds: Improved hierarchy tree import
Improved the hierarchy tree import
2024-05-04 19:46:02 +02:00
9b162d984a Import_3ds: Keep list and do nothing if parenting causes exception
If parenting from object dictionary fails it has nothing to do with the object list
So by now just passing if an exception occurs
2024-05-04 19:08:29 +02:00
867d906684 Export_3ds: Added ability to export all object types
All remaining object types will be exported as dummy objects
2024-05-04 18:47:37 +02:00
ce9a0215d3 Import_3ds: Fixed NoneType error
Fixed error in loop if object is None
2024-05-04 16:11:21 +02:00
dd084d4d5d Export_3ds: Added apply transform option
Added option to apply transformation matrix before export
2024-05-04 14:11:56 +02:00
b59b4daf30 Export_3ds: Evaluate derived non-mesh objects
Evaluate non-mesh from derived objects to convert for export
2024-05-03 08:00:48 +02:00
5993a2f36c Export_3ds: Remove free temp objects
Remove temp objects from blend data after export
2024-05-03 07:49:22 +02:00
540de86d70 Export_3ds: Added support to export non-mesh objects
Curve, Surface, Text and Metaballs will be converted to mesh objects
Removed unused outcommented code
2024-05-02 23:51:57 +02:00
c4a3862324 Cleanup: quiet warning for debug builds on startup 2024-05-02 11:26:21 +10:00
1c840422cf glTF importer: fix crash on unlit + animation pointer 2024-05-01 18:02:15 +02:00
f8368df0c8 glTF: Implement KHR_animation_pointer
Available for fully baked animation export mode (track or scene)
Need to be enable at export (option on animation panel)
2024-04-30 21:32:14 +02:00
6ac680c1a7 glTF exporter: Avoid crash with full hierarchy + lamp export 2024-04-30 21:24:55 +02:00
d47a5f6fa2 Export_3ds: Fix UnboundLocalError
Fixed UnboundLocalError with matmap variable
2024-04-29 23:01:01 +02:00
95f4e06268 Export_3ds: Added armature to object filter
Armature objects will be exported as dummy objects
if they are included in object filter
2024-04-28 20:41:47 +02:00