add COLLADA export of sampler2D filter/mipmap/wrapping settings #30111

Closed
opened 2012-02-08 20:36:19 +01:00 by Daniel Balster · 12 comments

%%%Hi,

this adds support for basic sampler settings to the current COLLADA exporter:

``` ... CLAMP CLAMP LINEAR_MIPMAP_LINEAR LINEAR LINEAR 8 1 ... ```
  • Mipmapping and filtering is controlled by Interpolate and Mipmap checkboxes in the texture properties
  • maxlevel and bias is currently hardcoded (sry did not find a suitable edit value)
  • wrap modes are taken from the settings of UV editor (wrap checkbox), not the texture properties, since the UV editor settings correspond more to what you see and get later on.

have fun,

daniel%%%
%%%Hi, this adds support for basic sampler settings to the current COLLADA exporter: <sampler2D> ``` ... <wrap_s>CLAMP</wrap_s> <wrap_t>CLAMP</wrap_t> <minfilter>LINEAR_MIPMAP_LINEAR</minfilter> <magfilter>LINEAR</magfilter> <mipfilter>LINEAR</mipfilter> <mipmap_maxlevel>8</mipmap_maxlevel> <mipmap_bias>1</mipmap_bias> ... ``` </sampler2D> - Mipmapping and filtering is controlled by Interpolate and Mipmap checkboxes in the texture properties - maxlevel and bias is currently hardcoded (sry did not find a suitable edit value) - wrap modes are taken from the settings of UV editor (wrap checkbox), not the texture properties, since the UV editor settings correspond more to what you see and get later on. have fun, ``` daniel%%%
Author

Changed status to: 'Open'

Changed status to: 'Open'
Member

%%%Assigning to Arystanbek. Thanks for the patch.%%%

%%%Assigning to Arystanbek. Thanks for the patch.%%%
wivlaro commented 2014-10-26 08:26:40 +01:00 (Migrated from localhost:3001)

Added subscriber: @wivlaro

Added subscriber: @wivlaro
wivlaro commented 2014-10-26 08:26:40 +01:00 (Migrated from localhost:3001)

Will this ever get merged into the main blender? I could do with this! :)

Will this ever get merged into the main blender? I could do with this! :)
Member

Added subscriber: @Blendify

Added subscriber: @Blendify
Arystanbek Dyussenov was unassigned by Aaron Carlisle 2015-08-24 02:50:48 +02:00
Aaron Carlisle self-assigned this 2015-08-24 02:50:48 +02:00
Member

@wivlaro please feel free to

@wivlaro please feel free to
Aaron Carlisle removed their assignment 2015-08-24 02:52:20 +02:00
Member

Closed as duplicate of #43298

Closed as duplicate of #43298

Changed status from 'Duplicate' to: 'Open'

Changed status from 'Duplicate' to: 'Open'
Gaia Clary was assigned by Aaron Carlisle 2017-02-02 16:25:49 +01:00
Member

I will look into this shortly.

I will look into this shortly.

Added subscriber: @dfelinto

Added subscriber: @dfelinto

Changed status from 'Confirmed' to: 'Archived'

Changed status from 'Confirmed' to: 'Archived'

Hi, thanks for your patch.

We are undergoing a Tracker Curfew where we are automatically closing old patches.

If you think the patch is still relevant please update and re-submit it. For new features make sure there is a clear design from the user level perspective.

Hi, thanks for your patch. We are undergoing a [Tracker Curfew ](https://code.blender.org/?p=3861) where we are automatically closing old patches. If you think the patch is still relevant please update and re-submit it. For new features make sure there is a clear design from the user level perspective.
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
8 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#30111
No description provided.