Forums
Games
Cyberpunk 2077 Thronebreaker: The Witcher Tales GWENT®: The Witcher Card Game The Witcher 3: Wild Hunt The Witcher 2: Assassins of Kings The Witcher The Witcher Adventure Game
Jobs Store Support Log in Register
Forums - CD PROJEKT RED
Menu
Forums - CD PROJEKT RED
  • Hot Topics
  • NEWS
  • GENERAL
    THE WITCHER ADVENTURE GAME
  • STORY
    THE WITCHER THE WITCHER 2 THE WITCHER 3 THE WITCHER TALES
  • GAMEPLAY
    THE WITCHER THE WITCHER 2 THE WITCHER 3 MODS (THE WITCHER) MODS (THE WITCHER 2) MODS (THE WITCHER 3)
  • TECHNICAL
    THE WITCHER THE WITCHER 2 (PC) THE WITCHER 2 (XBOX) THE WITCHER 3 (PC) THE WITCHER 3 (PLAYSTATION) THE WITCHER 3 (XBOX) THE WITCHER 3 (SWITCH)
  • COMMUNITY
    FAN ART (THE WITCHER UNIVERSE) FAN ART (CYBERPUNK UNIVERSE) OTHER GAMES
  • RED Tracker
    The Witcher Series Cyberpunk GWENT
THE WITCHER
THE WITCHER 2
THE WITCHER 3
MODS (THE WITCHER)
MODS (THE WITCHER 2)
MODS (THE WITCHER 3)
Menu

Register

Importing textures

+
L

lolligertyp

Forum regular
#1
Jul 13, 2013
Importing textures

I have a major problem importing 2D textures. If I import the file as a WorldDiffuse texture, REDkit crashes. If I import the file as a Default texture there are no errors and I could use them for a mesh, until I restart REDkit. The map where I used the mesh won't load and if I try to double click the mesh in the Asset Browser, REDkit crashes. With textures and meshes inside the REDkit I have no problems, and if I align the standart textures to the mesh it works, so it seems to be a problem with the import function of the textures. I tried different filetypes (jpg,png,dds), meshes (a simple cube as a test), and I reinstalled The Witcher 2 + REDkit (+I deleted all folders).
 
Last edited: Jul 13, 2013
S

shak-otay

Senior user
#2
Jul 14, 2013
Panfloetenheini said:
I have a major problem importing 2D textures. If I import the file as a WorldDiffuse texture, REDkit crashes.
Click to expand...
Talking about CBitmapTextures?

As an example choose outro_river_rocks (2D Texture, XBM) and export it as dds (you may have to copy the 2D Texture to your own folder before Export Asset being available in the rightclick context menu).

For me the DXT1 dds with a depth of 1 can be imported as WorldDiffuse without crashing REDkit.

You might try other textures this way and compare the created dds to the ones which "kill" your REDkit.

(It's a known issue that "REDkit meshes" and cooked meshes differ. For textures this has to be investigated.)
 
Last edited: Jul 14, 2013
L

lolligertyp

Forum regular
#3
Jul 14, 2013
shak-otay said:
Talking about CBitmapTextures?
Click to expand...
Yes
If I scale my textures to the size of outro_river_rocks (1024x1024 or any multiplier of this, 2048x2048 for example) and save them in any filetype I can import them, but if the size differs (for example 400x600, 200x200 or any other non-multiplier of 1024x1024) it crashes.

With the picture in 400x600 I tried the DXT1 DDS filetype, but it's the same as any other type (png, jpg), it crashes.
 
T

tekoppar

Forum regular
#4
Jul 15, 2013
Because it's not power of 2. Textures needs to be the size of power of 2. 2-4-8-16-32-64-128-256-512-1024-2048-4096-8192 and so on.
 
Share:
Facebook Twitter Reddit Pinterest Tumblr WhatsApp Email Link
  • English
    English Polski (Polish) Deutsch (German) Русский (Russian) Français (French) Português brasileiro (Brazilian Portuguese) Italiano (Italian) 日本語 (Japanese) Español (Spanish)

STAY CONNECTED

Facebook Twitter YouTube
CDProjekt RED Mature 17+
  • Contact administration
  • User agreement
  • Privacy policy
  • Cookie policy
  • Press Center
© 2018 CD PROJEKT S.A. ALL RIGHTS RESERVED

The Witcher® is a trademark of CD PROJEKT S. A. The Witcher game © CD PROJEKT S. A. All rights reserved. The Witcher game is based on the prose of Andrzej Sapkowski. All other copyrights and trademarks are the property of their respective owners.

Forum software by XenForo® © 2010-2020 XenForo Ltd.