Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: global.php PHP 8.1.27 (FreeBSD)
File Line Function
/global.php 94 errorHandler->error
/showthread.php 28 require_once
Warning [2] Undefined array key "lockoutexpiry" - Line: 550 - File: global.php PHP 8.1.27 (FreeBSD)
File Line Function
/global.php 550 errorHandler->error
/showthread.php 28 require_once
Warning [2] Undefined array key "avatartype" - Line: 811 - File: global.php PHP 8.1.27 (FreeBSD)
File Line Function
/global.php 811 errorHandler->error
/showthread.php 28 require_once
Warning [2] Undefined array key "avatartype" - Line: 811 - File: global.php PHP 8.1.27 (FreeBSD)
File Line Function
/global.php 811 errorHandler->error
/showthread.php 28 require_once
Warning [2] Undefined variable $awaitingusers - Line: 26 - File: global.php(872) : eval()'d code PHP 8.1.27 (FreeBSD)
File Line Function
/global.php(872) : eval()'d code 26 errorHandler->error
/global.php 872 eval
/showthread.php 28 require_once
Warning [2] Undefined array key 1 - Line: 1449 - File: inc/functions.php PHP 8.1.27 (FreeBSD)
File Line Function
/inc/functions.php 1449 errorHandler->error
/inc/functions.php 1414 fetch_forum_permissions
/inc/functions.php 2953 forum_permissions
/showthread.php 657 build_forum_jump
Warning [2] Undefined array key "mybb" - Line: 1997 - File: inc/functions.php PHP 8.1.27 (FreeBSD)
File Line Function
/inc/functions.php 1997 errorHandler->error
/inc/functions_indicators.php 41 my_set_array_cookie
/showthread.php 665 mark_thread_read
Warning [2] Undefined array key "additionalgroups" - Line: 7360 - File: inc/functions.php PHP 8.1.27 (FreeBSD)
File Line Function
/inc/functions.php 7360 errorHandler->error
/inc/functions_user.php 813 is_member
/inc/functions_post.php 416 purgespammer_show
/showthread.php 1114 build_postbit
Warning [2] Undefined array key "profilefield" - Line: 6 - File: inc/functions_post.php(484) : eval()'d code PHP 8.1.27 (FreeBSD)
File Line Function
/inc/functions_post.php(484) : eval()'d code 6 errorHandler->error
/inc/functions_post.php 484 eval
/showthread.php 1114 build_postbit
Warning [2] Undefined array key "canonlyreplyownthreads" - Line: 672 - File: inc/functions_post.php PHP 8.1.27 (FreeBSD)
File Line Function
/inc/functions_post.php 672 errorHandler->error
/showthread.php 1114 build_postbit
Warning [2] Undefined array key "showimages" - Line: 757 - File: inc/functions_post.php PHP 8.1.27 (FreeBSD)
File Line Function
/inc/functions_post.php 757 errorHandler->error
/showthread.php 1114 build_postbit
Warning [2] Undefined array key "showvideos" - Line: 762 - File: inc/functions_post.php PHP 8.1.27 (FreeBSD)
File Line Function
/inc/functions_post.php 762 errorHandler->error
/showthread.php 1114 build_postbit
Warning [2] Undefined array key "additionalgroups" - Line: 7360 - File: inc/functions.php PHP 8.1.27 (FreeBSD)
File Line Function
/inc/functions.php 7360 errorHandler->error
/inc/functions_user.php 813 is_member
/inc/functions_post.php 416 purgespammer_show
/showthread.php 1114 build_postbit
Warning [2] Undefined array key "profilefield" - Line: 6 - File: inc/functions_post.php(484) : eval()'d code PHP 8.1.27 (FreeBSD)
File Line Function
/inc/functions_post.php(484) : eval()'d code 6 errorHandler->error
/inc/functions_post.php 484 eval
/showthread.php 1114 build_postbit
Warning [2] Undefined array key "canonlyreplyownthreads" - Line: 672 - File: inc/functions_post.php PHP 8.1.27 (FreeBSD)
File Line Function
/inc/functions_post.php 672 errorHandler->error
/showthread.php 1114 build_postbit
Warning [2] Undefined array key "showimages" - Line: 757 - File: inc/functions_post.php PHP 8.1.27 (FreeBSD)
File Line Function
/inc/functions_post.php 757 errorHandler->error
/showthread.php 1114 build_postbit
Warning [2] Undefined array key "showvideos" - Line: 762 - File: inc/functions_post.php PHP 8.1.27 (FreeBSD)
File Line Function
/inc/functions_post.php 762 errorHandler->error
/showthread.php 1114 build_postbit
Warning [2] Undefined variable $threadnotesbox - Line: 33 - File: showthread.php(1587) : eval()'d code PHP 8.1.27 (FreeBSD)
File Line Function
/showthread.php(1587) : eval()'d code 33 errorHandler->error
/showthread.php 1587 eval
Warning [2] Undefined variable $ratethread - Line: 41 - File: showthread.php(1587) : eval()'d code PHP 8.1.27 (FreeBSD)
File Line Function
/showthread.php(1587) : eval()'d code 41 errorHandler->error
/showthread.php 1587 eval
Warning [2] Undefined variable $addremovesubscription - Line: 82 - File: showthread.php(1587) : eval()'d code PHP 8.1.27 (FreeBSD)
File Line Function
/showthread.php(1587) : eval()'d code 82 errorHandler->error
/showthread.php 1587 eval
Warning [2] Undefined variable $usersbrowsing - Line: 92 - File: showthread.php(1587) : eval()'d code PHP 8.1.27 (FreeBSD)
File Line Function
/showthread.php(1587) : eval()'d code 92 errorHandler->error
/showthread.php 1587 eval
Warning [2] Undefined variable $thread_deleted - Line: 107 - File: showthread.php(1587) : eval()'d code PHP 8.1.27 (FreeBSD)
File Line Function
/showthread.php(1587) : eval()'d code 107 errorHandler->error
/showthread.php 1587 eval

D3DCOMPILER_47.dll / Output
The following warnings occurred:
Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: global.php PHP 8.1.27 (FreeBSD)
File Line Function
/global.php 94 errorHandler->error
/showthread.php 28 require_once
Warning [2] Undefined array key "lockoutexpiry" - Line: 550 - File: global.php PHP 8.1.27 (FreeBSD)
File Line Function
/global.php 550 errorHandler->error
/showthread.php 28 require_once
Warning [2] Undefined array key "avatartype" - Line: 811 - File: global.php PHP 8.1.27 (FreeBSD)
File Line Function
/global.php 811 errorHandler->error
/showthread.php 28 require_once
Warning [2] Undefined array key "avatartype" - Line: 811 - File: global.php PHP 8.1.27 (FreeBSD)
File Line Function
/global.php 811 errorHandler->error
/showthread.php 28 require_once
Warning [2] Undefined variable $awaitingusers - Line: 26 - File: global.php(872) : eval()'d code PHP 8.1.27 (FreeBSD)
File Line Function
/global.php(872) : eval()'d code 26 errorHandler->error
/global.php 872 eval
/showthread.php 28 require_once
Warning [2] Undefined array key 1 - Line: 1449 - File: inc/functions.php PHP 8.1.27 (FreeBSD)
File Line Function
/inc/functions.php 1449 errorHandler->error
/inc/functions.php 1414 fetch_forum_permissions
/inc/functions.php 2953 forum_permissions
/showthread.php 657 build_forum_jump
Warning [2] Undefined array key "mybb" - Line: 1997 - File: inc/functions.php PHP 8.1.27 (FreeBSD)
File Line Function
/inc/functions.php 1997 errorHandler->error
/inc/functions_indicators.php 41 my_set_array_cookie
/showthread.php 665 mark_thread_read
Warning [2] Undefined array key "additionalgroups" - Line: 7360 - File: inc/functions.php PHP 8.1.27 (FreeBSD)
File Line Function
/inc/functions.php 7360 errorHandler->error
/inc/functions_user.php 813 is_member
/inc/functions_post.php 416 purgespammer_show
/showthread.php 1114 build_postbit
Warning [2] Undefined array key "profilefield" - Line: 6 - File: inc/functions_post.php(484) : eval()'d code PHP 8.1.27 (FreeBSD)
File Line Function
/inc/functions_post.php(484) : eval()'d code 6 errorHandler->error
/inc/functions_post.php 484 eval
/showthread.php 1114 build_postbit
Warning [2] Undefined array key "canonlyreplyownthreads" - Line: 672 - File: inc/functions_post.php PHP 8.1.27 (FreeBSD)
File Line Function
/inc/functions_post.php 672 errorHandler->error
/showthread.php 1114 build_postbit
Warning [2] Undefined array key "showimages" - Line: 757 - File: inc/functions_post.php PHP 8.1.27 (FreeBSD)
File Line Function
/inc/functions_post.php 757 errorHandler->error
/showthread.php 1114 build_postbit
Warning [2] Undefined array key "showvideos" - Line: 762 - File: inc/functions_post.php PHP 8.1.27 (FreeBSD)
File Line Function
/inc/functions_post.php 762 errorHandler->error
/showthread.php 1114 build_postbit
Warning [2] Undefined array key "additionalgroups" - Line: 7360 - File: inc/functions.php PHP 8.1.27 (FreeBSD)
File Line Function
/inc/functions.php 7360 errorHandler->error
/inc/functions_user.php 813 is_member
/inc/functions_post.php 416 purgespammer_show
/showthread.php 1114 build_postbit
Warning [2] Undefined array key "profilefield" - Line: 6 - File: inc/functions_post.php(484) : eval()'d code PHP 8.1.27 (FreeBSD)
File Line Function
/inc/functions_post.php(484) : eval()'d code 6 errorHandler->error
/inc/functions_post.php 484 eval
/showthread.php 1114 build_postbit
Warning [2] Undefined array key "canonlyreplyownthreads" - Line: 672 - File: inc/functions_post.php PHP 8.1.27 (FreeBSD)
File Line Function
/inc/functions_post.php 672 errorHandler->error
/showthread.php 1114 build_postbit
Warning [2] Undefined array key "showimages" - Line: 757 - File: inc/functions_post.php PHP 8.1.27 (FreeBSD)
File Line Function
/inc/functions_post.php 757 errorHandler->error
/showthread.php 1114 build_postbit
Warning [2] Undefined array key "showvideos" - Line: 762 - File: inc/functions_post.php PHP 8.1.27 (FreeBSD)
File Line Function
/inc/functions_post.php 762 errorHandler->error
/showthread.php 1114 build_postbit
Warning [2] Undefined variable $threadnotesbox - Line: 33 - File: showthread.php(1587) : eval()'d code PHP 8.1.27 (FreeBSD)
File Line Function
/showthread.php(1587) : eval()'d code 33 errorHandler->error
/showthread.php 1587 eval
Warning [2] Undefined variable $ratethread - Line: 41 - File: showthread.php(1587) : eval()'d code PHP 8.1.27 (FreeBSD)
File Line Function
/showthread.php(1587) : eval()'d code 41 errorHandler->error
/showthread.php 1587 eval
Warning [2] Undefined variable $addremovesubscription - Line: 82 - File: showthread.php(1587) : eval()'d code PHP 8.1.27 (FreeBSD)
File Line Function
/showthread.php(1587) : eval()'d code 82 errorHandler->error
/showthread.php 1587 eval
Warning [2] Undefined variable $usersbrowsing - Line: 92 - File: showthread.php(1587) : eval()'d code PHP 8.1.27 (FreeBSD)
File Line Function
/showthread.php(1587) : eval()'d code 92 errorHandler->error
/showthread.php 1587 eval
Warning [2] Undefined variable $thread_deleted - Line: 107 - File: showthread.php(1587) : eval()'d code PHP 8.1.27 (FreeBSD)
File Line Function
/showthread.php(1587) : eval()'d code 107 errorHandler->error
/showthread.php 1587 eval






D3DCOMPILER_47.dll / Output
#1
Question 
Hallo liebe MURLs!

1) Irgendeine Idee warum das so sein könnte...
win32\vs2013\Release\Scene_converter.exe fehlt D3DCOMPILER_47.dll

2)
win32\vs2010\Release\Scene_converter.exe läuft zwar ohne Fehler durch, schreibt aber keinen Output bzw. ich weiß nicht mal wie oder wo ich einen Outputdatei-Namen angeben könnte. Mit -lv startet kein Scene-Viewer nach der Konvertierung. Zur Info: Input ist *.blend

3)
für irgendein komplexeres 3d-Objekt als einen Würfel brauch ich den Konverter aber oder verstehe ich da was falsch?

Vielen Dank fürs erste.

LG Didi
Reply
#2
Apost 
Hallo Didi!

Quote:1) Irgendeine Idee warum das so sein könnte...
win32\vs2013\Release\Scene_converter.exe fehlt D3DCOMPILER_47.dll

Die D3DCOMPILER_47.dll ist Teil von Windows 8.1 bzw. vom Windows 8.1 Platform SDK. Wenn du unter Windows 7 oder 8 mit Visual Studio 2013 entwickelst, kann es sein dass die DLL nicht gefunden wird, weil sie nicht im Systempfad ist. Hier findest du die DLL bei einer Standardinstallation der VS2013 Community Edition:
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\D3Dcompiler_47.dll

Am einfachsten ist es, die Datei einfach ins Verzeichnis murl\base\binaries\win32\vs2013\Release reinzukopieren.

Alternativ kannst du auch das VS2010-Kompilat des Tools verwenden, unter
win32\vs2010\Release\Scene_converter.exe

Die Funktionalität ist im Prinzip dieselbe, die VS2010-Version verwendet allerdings die (ältere) D3DCOMPILER_43.dll. Sollte aber in den meisten Fällen kein Problem darstellen.

Quote:2)
win32\vs2010\Release\Scene_converter.exe läuft zwar ohne Fehler durch, schreibt aber keinen Output bzw. ich weiß nicht mal wie oder wo ich einen Outputdatei-Namen angeben könnte. Mit -lv startet kein Scene-Viewer nach der Konvertierung. Zur Info: Input ist *.blend 

Der Scene Converter erwartet als Input ein Konfigurations-XML-File, das alle Input- und Output-Dateien beschreibt, sowie allfällige Modifikationsregeln.

Im simpelsten Fall sieht so eine Datei wie folgt aus:
<?xml version="1.0"?>
<!-- Copyright 2013 Spraylight GmbH -->

<SceneConverter>
    
  <InputScene fileName="my_model.fbx">
    <ImageLocation pathName="./textures"/>
  </InputScene>

  <OutputPackage fileName="./converted/my_model" packageId="MyModel" createFolders="yes">
    <GraphInstance graphId="MyInstance" filePrefix="my_instance" generateMeshes="yes"/>
  </OutputPackage>

</SceneConverter>

Die Konfigurationsdatei veranlasst den Konverter, die FBX-Datei "my_model.fbx" vom aktuellen Verzeichnis zu laden (relativ zum Konfigurationsfile), und ein Output-Package namens "my_model.murlres" im Verzeichnis "./converted" zu erstellen.

Im Szenengraphen kann dann eine Instanz des konvertierten Modells zB so erzeugt werden, nachdem das erzeugte Paket geladen wurde:
<Instance graphResourceId="/MyModel/MyInstance"/>

Eine eingehende Beschreibung der Konfigurations-Dateien für den Szenenkonverter steht recht hoch oben auf unserer TODO-Liste; ich werde versuchen in den nächsten Tagen einen kurzen Abriss über die wichtigsten Elemente hier zu posten.

Noch eine Anmerkung: Der Szenenkonverter verwendet die Open-Source Library "AssImp" zum Importieren diverser Formate, darunter auch .blend Dateien. Das letzte Update der Library hat allerdings einen Import-Fehler mitgebracht, sodass sich die meisten Blender-Dateien nicht mehr direkt laden lassen. Der Fehler ist auch den Entwicklern der Library bekannt (und meines Wissens nach auch schon behoben), der Fix wird allerdings erst in einem der nächsten Murl-Updates drin sein.

Es gibt aber immer noch die Möglichkeit, zB mittels Blender-FBX-Exporter zuerst auf FBX zu konvertieren, und dann den Szenenkonverter mit dieser FBX-Datei zu füttern. Ist meines Erachtens nach sogar die robustere Variante. 

Quote:3)
für irgendein komplexeres 3d-Objekt als einen Würfel brauch ich den Konverter aber oder verstehe ich da was falsch?

Der Konverter ist auf alle Fälle nützlich, da er eine Menge an gängigen 3D-Formaten unterstützt und die konvertierten Szenen direkt verwendbar sind.

Eine weitere Möglichkeit ist, mittels Graph::GenericGeometry-Knoten beliebige 3D-Objekte zur Laufzeit zu erzeugen, beispielsweise prozedural oder über einen selbstgeschriebenen Loader. 

Zu guter Letzt ist es auch möglich, eine eigene Ressourcen-Klasse zu programmieren, die das Resource::IMesh-Interface implementiert. Eine solche Klasse könnte dann auch ein direktes Laden von zB .blend-Files ermöglichen. Das ist allerdings der aufwändigste Weg.

Wenns Unklarheiten gibt, einfach nochmal nachfragen. Nach den Feiertagen sollten die Antwortzeiten wieder ein bisschen kürzer sein Wink

LG

dizzy
Reply


Forum Jump:


Copyright © 2011-2024 Spraylight GmbH.